Elements of Plot
One of Aristotle’s plot elements, perepeteia is a “reversal of intention,” and occurs when a deed is done in blindness and defeats its own intention. Note the relation to character: vice that is virtue misapplied.
Also mentioned in Aristotle’s Poetics, a recognition, or anagnorisis, occurs when a character recognizes the truth.