I'm trying to keep our cats in at night during the bird nesting season.
It ain't easy.
One is a ground hunter(3-5 moles

) hit by a car and I don't worry about him, but the other one is a wild boy.
The trick(I hope) is to feed them light for dinner, and then when they come in for the evening.