From Old French comandeor, from comander. See command.
From
Wiktionary
Commander Sentence Examples
The commander was slumped over a workstation, out cold.
But a commander in chief, especially at a difficult moment, has always before him not one proposal but dozens simultaneously.
Commander of the third company wanted by the general!... commander to the general... third company to the commander.
The shapely figure of the fair-haired soldier, with his clear blue eyes, stepped forward from the ranks, went up to the commander in chief, and presented arms.
With the former Supreme Commander of the Armed Forces and the Special Assistant to the VP, not to mention the biofields, electromagnetic fields, and other beefed security measures, the compound at the top of the mountain was a fortress commanded by the President's own right-hand man.