To be court-martialed is to be disciplined by or declared guilty of breaking military law by a military tribunal.
(verb)An example of court-martialed is a soldier who is tried by a military court and dishonorably discharged from the army after going AWOL.