Sakoku was an isolationist foreign policy enacted by the Tokugawa Shogunate under which they forbade common Japanese citizens to leave the country for 265 years (1603 to 1868).