In March, 1869, he was appointed as captain of 'Choyo-maru', a warship of the new government, and he left the Shinagawa port in April and took part in the Battle of Hakodate in Ezochi (inhabited area of Ainu).
明治2年(1869年)3月に新政府軍艦「朝陽丸」の艦長に任命されると、4月には品川沖を出航して蝦夷地での箱館戦争に参戦した。