In modern figurative usage, it may refer to any act of expulsion or dismissal in disgrace.
[1] One of the earliest recorded references to drumming out occurs in Alexander Pope's Moral Essays, 3rd epistle, 1731–1733: "Chartres was a man infamous for all manner of vices.
"[2] It also occurs in a figurative sense in Thomas Amory's 1766 Life of John Buncle: "They ought to be drummed out of society.
American Civil War officers drummed out of service might have their heads shaved and their uniforms stripped of insignia and be paraded in front of their comrades.
Fellow officers were forbidden to touch the person being dishonorably discharged, but in more than one case after the war had ended, a drummed-out man was found dead after receiving a beating from his former comrades.