First having a catapult does not indicate they are sieging a castle... plenty of territory may need to be traveled on the way to the castle where the catapult can be ambushed / attacked. Even if the catapult is at a castle then the people/beings inside the castle might be using other types of attacks other than melee to melee... such as their own catapults, longbowmen, or mages casting fireballs and disease. I doubt very few engineers would try spending time pulling a catapult away when fireballs are flying across the battlefield and their general yells, "Retreat and Run for your lives!"
yeah, but the whole point of a catapult is that you'd be outside the range of their bowmen. Other catapults and mages are mostly valid, but a catapult generally is not accurate enough to something that isn't large (like a boat) and/or stationary (like a building). You have augners and such that throw collections of stuff with the intention of hit many targets, but its rather short range.
At a castle siege, they would be able to escape, so we can't have a case-all rule. In Master of Magic, Civilizations, and such; rarely did battles that really called for a retreat included heavy slow warmachines that wern't at a town or casle siege. Sure, they wouldn't be able to escape an ambush on the road, but most battles that I can imagine where a heavy long range war machine would be on the offensive, it would have room to escape provided the retreat was sounded before the warmachines were somehow on the front lines. (i.e. the battle was pushed back to where they were stationed)
Another scenario is the common hit-run tactic. You have several large balistas, you engage a battle and snipe with the long-range war machines. Its a retreat, but its not exactly 'run for your lives' as you used in your example. Certainly the enemy is going to try to chase down the war machines, but its not like all of them are going to be found and lost. Especially if retreating into a forest. They could hide the balistas under bushes and escape into the woods.
Additionally, warmachines vs. warmachines would result in something again where either side could escape, but nobody is going to fight battering ram vs. battering ram. They would do virtually no damage against units, so neither general would want to waste time fighting.
really that isn't the entire point anyway. you didn't address the fact that the crew of the warmachines would escape. So when people come to chase them down all they get are the machines themselves, but not the crew. So even in an ambush with 0% chance the machine might be able to be moved, the machines might be destroyed, but can be rebuilt or repaired later. It is the reason that in Heroes of Might and magic, you get the war machines come back after every battle, its not about the machine itself since that isn't the hard part of producing a catapult or battering ram.
I would vote there should be more factors then what you posted. Such factors heavily involve against whom they are fighting and who is the aggressor. If some guys are hauling a catapult through the woods and they are ambushed, heck yeah are they going to drop what they are doing and run screaming.
But if they are the attacking party, they are going to be able to be prepared to make a quick getaway dispite the large hard to move machine (like having cut branches or a cave or something back over the hill to hide)
I'll be very disappointed if there is no way to retreat on a unit-by-unit basis.
I agree. I think E:WaR should have something close to the AoW style retreat at best where you can run guys to the edge of the battle field to escape, so the catapults can run away many turns before the golem-tanks do (they still could have plenty of health and would be keeping persuers from reaching the catapults) then once all the weak and slow guys have gotten off, the golems can walk their armored bums away (or just die because they were taking all the heat as the rest of the army escaped)