beat a retreat

📖 general
Meaning
To withdraw or flee from a difficult or dangerous situation, often quickly or in a disorderly manner.
Literal Meaning
To sound a signal for withdrawal, typically with drums, or to physically retreat.
Example
“When the police arrived, the protesters quickly beat a retreat.”