‘Expel the barbarians’ (joi) was a slogan used in the late Edo period to demand that the Tokugawa shogunate reject diplomatic and commercial contact with the West, aside from traditional trade conducted with the Dutch at Nagasaki. It was a major rallying cry for opposition to the shogunate and contributed to its overthrow in 1868.