Any person subject to this part who compels or attempts to compel a commander of any place, vessel, aircraft or other military property, or of any body of members of the armed forces to give it up to an enemy or to abandon it, or who strikes the colors or flag to an enemy without proper authority, shall be punished as a court-martial may direct.
51 Pa.C.S. § 6024