That was a lucky escape.
I got trapped between a car and a wall a few years ago when a trolley jack fell over as the car rolled. It was my own fault though, the front wheels were up on ramps and as it was a front wheel drive car I put it in gear to make sure it didn't roll backwards only I'd forgotten that I'd removed the cylinder head

Luckily I managed to squeeze out because I was there on my own and my phones were at the opposite end of the garage. I won't be doing that again.