I will say cats are crazy escape artists. We had to confine ours after a move to make sure they didn't make a mess or escape while we reassembled our house but the room didn't have any doors so we piled up boxes and they just got better and better at escaping. This escalated to one of our cats jumping up and slamming a box off the top to make his escape.
I had a couple of cats. I went on holiday, and left them at a cattery for a couple of weeks. The older one managed to open the cat-room door by pushing down on the handle, then ran up and down the long corridor until noticed by the cattery owner. Then the younger cat died, and I got a new younger cat. I went on holiday again, by which time the older cat's back legs were knackered and he couldn't jump up. But I warned the (different) cattery owner that he was an escape artist. This time, he taught the younger cat how to push down on the handle, and again they ended up running up and down the long corridor. Cats are escape artists.
I was rearranging a bedroom once, and flipped the mattress vertically, long-ways, against the wall to make room to move everything else around. Literally as I was lifting the mattress a cat started climbing up it to reach the new, higher vantage point in the room.