The Sanada retreated and fortified Ueda Castle. When Tokugawa Hidetada marched a sizable army on the Nakasendō, the Sanada resisted and were able to fight Hidetada's 40,000 men with only 2,000. However, as the castle did not fall in the short time that he expected, Hidetada gave up and joined the main Tokugawa army, too late, however to participate in the crucial Battle of Sekigahara. After the battle Masayuki's territory was seized and he and Yukimura were exiled to Mt. Koya in the Kii Peninsula. Ueda was given to Nobuyuki. Yukimura rose against the Tokugawa when the Winter Battle of Osaka Castle broke out in 1614.