When the Edo period started after the war period ended, the number of 牢人 who wandered around various provinces increased due to Kaieki (punishment whereby a samurai was deprived of his samurai status and his fief and residence were confiscated).
江戸時代になり戦火が収まると、改易等により各地を流浪する牢人が急増した。