The prisoners were recaptured with the assistance of other security agencies and local vigilante groups.