The was commanded to commit seppuku because he had been a coward.
His death in 1591 by seppuku (the ritual disemboweling more crudely known to Westerners as harakiai) was in fact commanded by Toyotomi Hideyoshi, his former friend and patron.