The plane was in the air for an hour before the U-turn.