Question: which shogunate isolated the country from the rest of the world
Answer: the Tokugawa shogunate under Tokugawa Iemitsu