The open window was the bird's only avenue of escape from the house.
Bill saw that his one avenue of escape was through the back door.