Yes, I struggle with this, too. It's very difficult for people to understand why I was MIA; often, people take this very personally and are hurt. If I do this, I get in touch and explain as soon as I am well enough to do so.
I think depression causes us to naturally desire to withdraw. I know I also feel somewhat lost and feel some shame for being depressed.
Maybe we can overcome this if we keep trying? Maybe we can find better ways to handle this so we don't hurt others; yet, still do what we need to do?
I could do a better job educating those around me; somehow shame gets in the way.
Hugs to you!

WC