10 USC § 14518
Continuation of officers to complete disciplinary action
through Public Law 119-27, except Public Law 119-21
The Secretary concerned may delay the separation or retirement under this chapter of an officer against whom an action has been commenced with a view to trying the officer by court-martial. Any such delay may continue until the completion of the disciplinary action against the officer.