Disabling the option in the ship's Behaviour menu will prevent the ship from acquiring the AVOID behaviour during an Attack session. I.e. Multiple successive Attack orders is one session.
It will be re-enabled at new Attack sessions.
Cancelling the AVOID order from the Behaviour menu will prevent the ship from acquiring the AVOID behaviour for 10 seconds.
Using the Interact menu will prevent the ship from acquiring the AVOID behaviour until it is re-enabled with the Interact menu.
Disabling the AVOID behaviours in the Extension Options will prevent all ships from acquiring the AVOID behaviour.
Disabling these in the Extension Options will disable these behaviours for all ships.