How can you get a bird to exit your house?
Turn on all the lights inside the house, open all the windows and the doors.  The bird will go toward the light.
Turn off all the lights inside the house, open all the windows and the doors.  The bird will go toward the light.