After that, he moved to Ezo (inhabited area of Ainu) and was assigned as matsumae bugyo (a vassal of Tokugawa Shogunate whose duty was to control the area) of the Republic of Ezo.
その後、蝦夷地へ渡って蝦夷共和国の松前奉行に就任した。