Oh you can manually specify that certain units must retreat with Ctrl+W/flag button.