During the Tokugawa shogunate, samurai increasingly became courtiers, bureaucrats, and administrators rather than warriors. When had samurai last been used in battle