In 1614, the shogunate banned Christianity, seeing in it an instrument of foreign political influence. Tens of thousands of Japanese Christians were repressed, and leaving the Japanese abroad, where they could potentially be baptized, became impossible. Therefore, in 1637, part of the peasants and samurai of the island of Kyushu, professing a forbidden religion, raised an anti-government uprising in Shimabar. The shogunate suppressed him for a year, and in 1639, in order to completely destroy Christianity, he forbade all European and American courts from arriving in Japan. The exception to this rule was Holland, its ships, which helped to deal with the rebels, received the monopoly right to trade on the artificial island-reservation Dejima in Nagasaki.
During the seventeenth and mid-nineteenth centuries, despite breaking up with the West, Japan continued to maintain diplomatic and trade relations with its traditional partners: China, Korea, and Ryukkh. The government traded with them in Dejima, Tsushima, Satsuma, and southern Hokkaido.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.