Eventually, due to a request from the domain, he moved to Edo, where he studied Western studies, military science, and mathematics under Masujiro OMURA, and joined the Navy with the invitation of Omura.
やがて藩命により江戸へ出て、大村益次郎の門下で蘭学・兵学・数学を学び、その大村の招きで海軍へ。