In 1743, Kogetsu suggested that he should visit Shōin-ji, where Tōrei was to meet the great Rinzai master Hakuin Ekaku and study Zen with him.
After his mother's death, he went to a small hermitage in Kyoto, where he undertook a very rigorous and ascetic training, which ended with a deep realization.
Unsure if he would survive, he decided to write the text Shūmon mujintō ron (The inexhaustible lamp of Zen).
[7] After Hakuin's death, Tōrei retired to Ryutaku-ji and he remained there for twenty years overseeing its restoration.
[8] All contemporary Rinzai-lineages stem from Hakuin and Torei, through Gasan Jitō (1727–1797) and his students Inzan Ien (1751–1814) and Takuju Kosen (1760–1833).