In 1629, Takuan was banished to northern Japan by the shogunate of Tokugawa Hidetada due to his protest of political interference in Buddhist temple matters pertaining to ecclesiastical appointments. By 1632, there was a general amnesty after the death of Tokugawa Hidetada, and Takuan's banishment came to an end. Later, after a meeting between the two arranged by Yagyū Munenori in Kyoto, Takuan was ordered by Tokugawa Iemitsu (1604–51), who was deeply struck by the encounter, to become the first abbot of Tōkaiji Temple (東海寺) in Edo, which he had constructed especially for Takuan to ensure he could draw on Takuan's counsel at any time.