Question: what was the relationship between a japanese shogun and the emperor?
Answer: Legally, the shogun answered to the emperor, but, as Japan evolved into a feudal society, control of the military became tantamount to control of the country. The emperor remained in his palace in Kyōto chiefly as a symbol of power behind the shogun.