If the engine is pulling, then if it goes off the track, I would think that the momentum would pull the other attached cars with it.
Unless it came to an abrupt stop.
It’s interesting that there is no word on the status of the Engineer.