To see a dead person or a coffin is a common way of understanding how some aspect of you is ‘passing away’ or transforming. See Burial.