Hypothetical question about a train

Solution 1:

It didn't literally "turn around" and come back, but it did figuratively and colloquially "turn around" and come back. So it's both correct and incorrect, depending on the interpretation.

If you wanted to be very exact about the wording, you might avoid the phrase "turn around". "The train want back the other direction.", "The train returned to Hamburg", etc.