10 U.S.C. § 8164
Marine Corps officers: limitation on power to command
Officers of the Marine Corps may not command vessels or naval shipyards.
( Aug. 10, 1956, ch. 1041 , 70A Stat. 371 , § 5944; renumbered § 8164, Pub. L. 115–232, div. A, title VIII, § 807(b)(5) , Aug. 13, 2018 , 132 Stat. 1834 .)