I began to nudge him gently with a stick to encourage him to find another place to rest.
This appeared to rile him a bit.
With some more encouragement, he crawled up to the top of the window...
...and then copped this whole, "This good enough for ya!?" attitude.
But it wasn't.
After some slightly less gentle prodding, he flew away. Very neat to watch.