What is the origin of the slang term chicken?

There is a saying: "If you go into the coop, don't frighten the chickens."

This phrase is used generally to mean 'don't be too aggressive near meek people' (as you might frighten them).

A chicken is not a courageous creature, as it frightens easily.

So, if somebody is "chicken", they do not have much courage.