Why did the writer panic…

Why did the writer panic on the train when he got to his destination?