how would you escape from subway car trapped in tunnel? lets assume the train car derail but the train remain upright with no damage to the walls.

A few years ago, the Toronto train had serious accident which two trains collided with each other. The passengers had difficulty getting off the damage train by themselves.

These trains often have technical difficulty which cause them to get stuck in tunnel. I wonder how does one break open window if the emergency door opener is jammed.