I agree that the retreat option should be available.
If you do not have the option of retreat than you may end like russians in 1941. Their army was butchered because it did not retreat. Retreating may save your army, while your castle would be probably doomed anyway (unless you can bring reinforcements from some place nearby). Better to lose only your castle rather castle and army both.