Well its her territory adventualy once she's back in there she still be territorial and still peck.(Possibly)The real problem here is basically territorial and dominance based. For me the best way to fix this problem is to take a small cage, place her in it by herself for 1 day. This will help calm her nerves a lot. This method also helps when you take a hen from her chicks for good and put her back with the flock. If this doesn't work, get some water and when you catch her doing it splash her with the water. These two methods help a lot for me. Good luck.![]()