cashiering

verb

Dismiss (someone) from the armed forces in disgrace because of a serious misdemeanour.