However, as he was not the first son, he went to Edo and entered into the Shokoku-ji Temple to be a Zen priest where he learned the Shushigaku (the teachings of Chu His).
しかしながら、長男ではなかったため上京し、京都相国寺に入って禅僧となり朱子学を学んだ。