It is unlikely that looking from their hideouts in the nearby forest they did not realize that gendarmes are present in the village, so it is possible that they voluntarily surrendered in hope that in this way they would save their benefactors.