Good recovery! I know we all slip from time to time, we're not perfect. It's the recovery that is important.
It absolutely is a death of sorts, and grieving is difficult. Allow yourself to go through the stages and be patient with yourself (this is a reminder for myself at the very same time)