Not a defense mechanism:
Derailment is a formal thought disorder and not a defense mechanism. Distoion involves modification of reality. Denial means refusal to accept the reality Undoing is an act to nullify the previous act.
Derailment
Repression
Distoion
Undoing
Psychoanalysis