Toyotomi Hideyoshi died on September 18, 1598. He was delirious, with Sansom asserting that he was babbling of the distribution of fiefs. His last words, delivered to his closest daimyos and generals, were "I depend upon you for everything. I have no other thoughts to leave behind. It is sad to part from you." His death was kept secret by the Council of Five Elders to preserve morale, and they ordered the Japanese forces in Korea to withdraw back to Japan. Because of his failure to capture Korea, Hideyoshi's forces were unable to invade China. Rather than strengthen his position, the military expeditions left his clan's coffers and fighting strength depleted, his vassals at odds over responsibility for the failure, and the clans that were loyal to the Toyotomi name weakened. The Tokugawa government later not only prohibited any further military expeditions to the Asian mainland but closed Japan to nearly all foreigners during the years of the Tokugawa shogunate. It was not until the late 19th century that Japan again fought a war against China through Korea, using much the same route that Hideyoshi's invasion force had used.