No, don't kill the racoon. It's just another animal who wants to
from your backyard, the racoon will leave. So yes, if you bring the chicken inside your house or return them to the farm (they'll probably be happier there anyway), the racoon will leave. Just leave it alone.