that bloody naval episode , the subject of much japanese lore and tradition , marked the end of direct imperial authority here and the rise of the first shoguns , military governors who would rule in his name .