When I experience fear like that in the middle of the night I find that getting up and engaging in prayer and meditation can sometimes bring at least a little relief, or maybe I just turn on the TV for a bit and disengage from my fears, for me it's much better than laying in the dark and worrying.
I'm sorry that this happened to you, and in the end I hope it turns out well.