escape mechanism

noun

1.
a form of behavior that evades unpleasant realities