Your right, she wasn't. Sorry, Becky....Good Morning!
Poor pony, I hope she is ok. You are lucky you heard her. One time, I found my Appaloosa gelding upside down in his stall. He must have been there for some time, because his legs swelled up, when circulation was restored to them. I had to get the neighbor, to help me roll him over.
It wouldn't be easy to roll even the pony over... I'd guess she's still 7-800 pounds.
I've seen her get cast before up against the wall and she's been able to kick herself off the wall, luckily. This time I think she got fouled in the gate.