Ever experienced catatonia?

I experienced it yesterday. I felt frozen and still, I couldn’t move. I needed to pee but I couldn’t move, for hours. I was in the same position on the bed for literal hours. I felt stuck, I felt spaced out too and just zoned out at nothing.

It was scary at the time but I couldn’t do anything about it. Anyone experienced this?