§ 6021. Unlawful detention of another. Any person subject to this part who, except as provided by law or regulation, apprehends, arrests, restrains, or confines any person shall be punished as a court-martial may direct.