Japan stopped isolating itself in the year 1854.
Situated 20 km (12.5 miles) southwest of Tokyo, Yokohama was an unimportant little fishing village until 1854, when Japan's long centuries of self-imposed isolation came to an end.