A few years ago my wife and I moved into an apartment while we were looking for a house. The apartment was smaller than our old duplex and we were planning to move after a month or two, so we put some bags of stuff in the second bathroom shower and closed the door.
We wake up the next morning to this THUMP THUMP THUMP MEOW sequence, which keeps repeating itself. One of our cats was just staring at us, but we couldn’t find the other.
Eventually we realize that the little bastard was in the shower, trying to jump out and failing. He had managed to jump on top of the shower–there was a gap of maybe 6-7 inches between it and the ceiling. Then of course he had fallen in.
I imagine he had a brief period of glory teetering up on the edge before it ended like your gif.