Not sure if this is WAD, but when cavalry approach guns, once they get to 200 yards, the arty starts to limber and withdraw. I will check this with infantry as this is problematic. The arty will continue to limber withdraw and never stand and fight or take a shot - especially at canister range.Artillery is more likely to getaway from approaching infantry making it harder to capture.
There is a way to supercede this by TCing each individual gun and hitting the unlimber button. However if you do this, when you need to select the right ammo as it looks like the guns will get stuck on the last ammo type fired.
It would be nice to have the battery commander have a HOLD POSITION order to obviate the need TC each gun. This hold command would supercede the getaway function hardcoded into the battery.
EDIT - Confirmed that it is the same for infantry. That is really bad as basically the mere presence of infantry or cav at 200 yards will force the artillery to retreat without firing a shot. The only work around I can find is TCing each gun so they will hold the position.