To turn off auto retaliate, you must navigate to the action bar and click on the sword icon. If it shows two crossed swords, that means that auto retaliate is on, while a single sword means it is off.