A unit is invisible loses aggro of attacking enemies for a short duration. It is unknown if the unit can be targeted by spells, but the unit is still under effect if hit by area of effects spells.
Please differentiate this from indirect way of losing aggro:
- Move out of attack range: Some units spells are designed to move the unit away from danger, and therefore, their attacker is out of range of the unit.
- Move too far: The unit spells move this unit to a totally different place in the map, usually to access well-protected enemy unit. The spell almost guarantees to lose all enemy aggro.
- Constantly on moving: and units always move. This tends to force the enemy attacker unit always move, until they lose aggro.
- Crowd control: Some crowd control force enemy to lose the ability to attack. When the effect wears off, the enemy will pick a target, and possibly not the one before the crowd control started.