To turn away or prevent something undesirable from happening.
From Latin 'avertere' where 'a-' (away from) combines with 'vertere' (to turn) meaning 'to turn away.' The word passed through Old French 'avertir' before entering Middle English, maintaining the core meaning of turning something away to avoid or prevent it.
Try Another Word