Try ordering your unit to continue on sight C or ignore the specific enemy.
Bullet-based units (Sniper, Shotgun, Machine Gun) will attempt to shoot enemy units on sight by default, regardless of whether you are using the aim command. You must explicitly order your unit to continue on sight or ignore the enemy if you want them to keep moving.