The correct option is D. It wanted to protect itself from foreign influence.
TJapan isolate itself from the rest of the world in the 1600 due to fear that the rest of the world would contaminate its culture and religion. To preserve itself, the Japanese shut themselves off so that religion would not have outside influences.