After he left the domain in 1865, he applied for the recruitment of Shogunate Infantry, and was stationed in Mitsuura (present Matsuyama City, Aichi Prefecture) during the Second Conquest of Choshu.
その後、慶応元年(1865)脱藩し、幕府歩兵の徴募に応じ第二次長州征伐の際は三津浦(現愛媛県松山市)に駐屯した。