Lose with as much damage against opponent
When you get into a fight that you know you cannot win and you cannot run, use the main body of your force to attack the enemy and have ranged units fire at them. Slam your cavalry into the rear of the enemy, then pull them away again. Send them back in and pull them out. Keep repeating this, and you can at least cause the enemy to lose as much of his forces as possible.