noun
commandant
KAH-muhn-dant/ˈkɑːməndænt/
An officer in command of a military organization or establishment.
The commandant addresses the recruits at the academy.

Etymology
Commander with -ant gives “commanding,” which became a noun meaning “the one commanding.” That description became a title for the officer in charge, especially of a fortified town or garrison.
In context
General Dunford, we've relied on you as Commandant of the Marine Corps, as our commander
from retirement as commandant of the United States Coast Guard after a brilliant career