Never had this problem before, but if you ever find a hummingbird trapped in your home, you might wanna lure it in with a flower and lead it outside.

Cuteness level 1,000!!!
And it looks like you can use flowers AND hummingbird feeders to do this. Easier to get a flower attached to one of those poles, though, which gave better access to the skylight.
The internet had some thoughts:
P.S. Now check out our latest video π