At that time he drafted a manuscript for a diplomatic document concerning the Buddhist missionary to Korea, and later he participated as the advisor to the bakufu concerning diplomatic relations with Korea.
このころに朝鮮通信使に関する国書の起草に関与しているが、以降朝鮮外交に関して幕府顧問となって活躍した。