turn about

Intermédiaire supérieur (B2) formal

To turn to face the other way, or to completely change what you were doing or thinking.

"The soldier turned about and marched back the way he had come."