Etymology
Today it means: To leave hastily in the face of opposition. Full definition →
See beat (“to signal beating a drum”).
Etymology from Wiktionary, CC BY-SA 4.0.