As they neared the border, they were stopped at an ad hoc checkpoint.