The third compartment behind the train was hastily separated from the engine and passengers sitting in it got down.