beat a retreat

Verb
  1. depart hastily
beat a retreat
The drummer beat a retreat as the parade ended.