Commandant

Commandant: A title usually given to a military officer in charge of a fortress, military station, or military school. A captain-commandant is a captain who is temporarily doing duty of a higher rank.