escape mechanism: a form of behavior that evades unpleasant realities
evasion: nonperformance of something distasteful (as by deceit or trickery) that you are supposed to do
writing: the activity of putting something in written form