Yes, battling back is optional.
Same for attack - it is optional, with one exception: warriors moving 2 hex (literally speaking, they are charging) must finish move next to unit they intend to attack and the, provided unit was not eliminated by another friendly unit, attack it.