Catharsis

Catharsis means emotional relief, especially of repressed emotion, so writing an autobiographical novel could be one way of achieving catharsis. The expression is also used of dealing with mourning: “The candlelit vigil brought a degree of catharsis to the grieving relatives”. The adjective is cathartic, as in a cathartic experience.