hi there
i'm sorry i don't have any advice, all i can say is i understand your friend coz i am same as regards shutting people out when i need help yet i always be there for them. i know it frustrates and hurts friends, but when i'm in that darkest of place i'm not thinking of that.
anyway, i'm sorry you're going thru this right now and hope you get some good advice from someone more able.