On a two-week backpacking trip through Europe, I had a sleepless night on a train that left me too exhausted to explore.