This type of defense mechanism is called repression. In this person may unconsciously repress a painful or difficult memory, but the memory remains.
Unpleasant emotions, impulses, memories, and thoughts can be repressed when they are unconsciously suppressed from your conscious mind. This defense mechanism, first described by Sigmund Freud, aims to lessen worry and guilt feelings. Encouragement to communicate repressed ideas so that they can be dealt with more effectively is one goal of psychotherapy. Repression may be a factor in the development of several phobias. For instance, some unexplained phobias may be the result of painful childhood memories that the person has suppressed over time.
learn more about defense mechanism here:
https://brainly.com/question/15721491
#SPJ1