Been there done that. I have about half a dozen sparrows getting into my house every year. They somehow get into the attic and follow the flue down into the basement and out into my sewing area. I have a butterfly net that I catch them with and let them go. Sometimes they'll be smart enough to fly up the stairs and out the back door without my help.