I try to chase them into a glass, then, when they're rattling around, I gently shake said glass so they can't climb out...
It usually works, they're gently tipped out onto the cill and they can find their own way out via whichever window they're guarding!
Harry gave me a funny look this morning, but I didn't see Harriet so maybe he's still on the pull...