I'd like to be able to lock the gates like you could in MTW1. Any troops split out should just turn round and route.

They know you've abandoned them as you've shut the gates on them. If it was me I'd be doing my best to run away without being killed.