In high school I got caught in the crowd once following a release from some kind of pep rally, I was effectively crushed against a wall while it passed. The gymnasium had plenty of exits, but the field-side wasn't where anyone wanted to go. Classes and the cafeteria were through three double-door exits on the non-field-side. After that one mistake, I started going toward the field and then walked around the exterior. I've kept that pattern up whenever I'm in any crowded place with a lot of people being released at once. I look specifically for the reasonable exits that are away from most people's interest, even if it takes me a bit longer (often it's faster because there is no crowd jamming up the exit).