At the debut of my T I had such loud T upon waking up that I thought I had "exploding head syndrome". Imagine waking up in silence and rested for decades and then, upon waking, stepping from silence to extremely loud T in a split second. Inevitably each time my heart pulse was raising from normal to very high levels. It took me quite a while to get used to meet my loud T whenever I woke up. I was flying into a huge panic attack every time I woke up and I was calling the ambulance very often. When the ambulance came my telling them that I have T was leaving the unphased, they were measuring my blood pressure, noticing that I have very high pulse and I am out of breath, leaving a prescription for a sedative and leaving.
I think your T will resolve after the delivery.
When you wake up and anxiety hits you because T resumes I advice you to not stay one more second in bed (your T may be caused by circulation problems for which laying down is worse anyway), turn on the radio to mask the T, talk to somebody if there is anybody in the house or over the phone, turn on the TV, get dressed and go for a walk, start doing something right away.
In other words: instead of plunging into a panic attack, plunge as fast as you can into another activity that will make you forget the T and bypass the anxiety that comes with it.
You have to stand up and start something from the above examples or maybe something else better that you can think of to jump over those panic attacks because the panic attacks are felt, unfortunately, by the bundle of joy that's in the oven, for which the best environment must be assured.
So get out of bed and start the day doing one of your usual activities that you were doing in the morning before getting T, that will remind you of the times when you were doing those things and you were not having T. Those routines are etched very deep in your brain and will help you switch in your previous life mode.
Do not lay in bed and contemplate your T!
Being anxious and depressed while pregnant is not good for the baby. Whatever the issues that make you depressed and anxious right now are, T and maybe others, all those issues you can analyze in order to solve them after delivery. Postpone all your problems and do your best to be in a good mood, because your mood is influencing the baby.