Answer:
The commander of all the Japanese emperor's military forces was the Shogun.
Step-by-step explanation:
Shogun was a Japanese title originally used to designate military lords who, on the emperor's behalf, conducted campaigns against Japan's indigenous people, ainu .
From 1192 to 1886 (with some exceptions, for example, 1333-1336), the title came to be used as a designation for Japan's highest military commander (periodically the country's de facto ruler).
Initially, the position was given to emissaries in eastern Japan who did not want to bow to the Kyoto central government during the Heian period. The title was temporary and was eventually discontinued when the entire country was subordinate to the central government.