Is the sword icon next to the target yellow or red when you are engaged?

If it's yellow then you will just stand there, if it's red you will engage in AA.