The term should mean something like drummed out of military service in disgrace. Examples include men who embezzled government funds and/or filed false expense or pay statements. Men like this didn't usually return to service unless a higher court overturned the conviction, and that took time.