As the herd approached settlements, people were temporarily relocated to prevent conflict as local residents tried to protect their crops and homes.