Dear ConquerQueen,
I am so sorry to hear about your loss! My sincere condolences on the passing of your grandmother!
If I look back at the period I had agoraphobia, from my experience I suggest you to visit your doctor and to tell him/her about how you feel and I am sure she will advise you something. For me medication worked really well. I gained the state whem I am quite OK leaving my house and started to work on leaving "all my safety zones".
Also, if you do not succeed in going to your grandmothers' funeral, please don't be hard on yourself. I remember I had my grandfather's birthday and we all family and relatives went for his birthday and it was some 3 hours by car. After half an hour I came back by bus, I could't do that (I also didn't have the tips that the CBT offers, didn't know how to deal with agoraphobia (if I only knew that...)). Later on I phoned to my grandfather and for the first time tried to explain him how I feel and congratulated him on his birthday. I think he felt that yet I haven't arrived for his birthday, I love him and wish him all the best. The same situation could be yours. I am sure your grandmother knows you love her and that you are sorry you will not meet her for some time.
At the same time, maybe give it a try to go to your grandmother's funeral!