pace back and forth
To walk back and forth (in or around some place), as in fear, anger, anxiety, frustration, etc. I hate seeing the animals in the zoo pace back and forth in their cages like that. They all look so unhappy! I just paced back and forth while I waited to hear back from the doctor.
Farlex Dictionary of Idioms. © 2024 Farlex, Inc, all rights reserved.