A few years ago, there was a grade crossing accident on the LIRR due to an impatient driver going around the gates. The motorman (engineer? driver?) actually had enough presence to jump out of the cab and drag several passengers with him further back in the first car. The lead 2 cars derailed after hitting the car and plowed into the end of the station platform.
https://www.nytimes.com/2019/0...lision-accident.html
Watching the video of this accident, it's amazing how the cars on the trailer were tossed like matchbox cars.