Passengers clung onto the handrailing as the door failed to shut.