Towards the end of the Edo period, many samurai were dissatisfied with their lack of freedom within their domains and opted to leave their domain and back the Sonno Joi ideal (Imperialism and the expulsion of foreigners).
幕末には、藩にいると自由に行動できないので、脱藩し尊王攘夷の志を立てようとする武士が増えた。