What did the officers do once a battle began?
They were tasked with encouraging the fighters and preventing flight from causing defeat. The sources cited describe guards behind the army who were authorized to inflict bodily punishment on those attempting to retreat.
Quote from the source«the role of the officers was to encourage the fighters and punish those who fled the battlefield.»
- Author
- Rabbi Eliezer Melamed
- Source
- Parsha.net — Vayigash86, p. 9
- Parsha
- Vayigash