abreaction

the release of mental tension due to an unpleasant experience, by reliving the experience in the presence of a psychoanalyst.