Or until the captor leaves the door open.
Knew a guy with an African Grey Parrot. Had a big padlock on the cage. I asked him why and he said "He's figured everything else out."