That almost happened to me, actually!
I was in a church, the crowds were large in front of me and behind, and I couldn't move. I was stuck in the middle of where the elevator doors close. They started to close on me, and, right before they would have crushed me, for some reason, they stopped and froze before touching me. Then they started opening again and I was able to get out.
BTW, all of the people who were currently on the elevator at the time were highly evil delinquents who constantly did things such as spray mace in girls eyes for the hell of it and they hated my guts, so none of them held the door open, I can assure you.