Besides movement, there are also other orders to give to each individual unit, e.g. building a palisade, making a trap, changing movement speed, and determining when a unit should retreat. If a fight does not work out, the unit automatically flees and after resting, it regains full strength.