Term for emotional distancing?
The term you are looking for is illeism: the tendency in some individuals to refer to themselves in the third person. It can be used as a literary device, but it is used to refer to when real people change vantage point and - through a mental condition or social context - refer to themselves in the third person, possibly after referring to themselves in the first person.