A train comes to a halt as its brakes squeal and people get out