Im thinking breaking so hard and fast the cars in rear ran into cars in front.
From what I’ve been reading, it’s been stated that the train braked starting in the back moving to the front.
That should alleviate most of the effect you are addressing.
Of course once you go off the track the front cars are coming to a full stop while the back cars still have momentum.
What you reference would for sure happen then.