Sorry to hear that.
I struggle badly when ill because I don't produce cortisol, so have to routinely take hydrocortisone instead. When I'm ill, injured, or having an operation it has to be increased. The problem is that ordinarily your body would increase it before you get ill to try to recover and fight off the infection. So I'm always playing catch up and can sleep 18hrs or more a day for no apparent reason until whatever is happening makes itself known. I still sleep after it's known, but at least we know why by then. I've tried not sleeping and frankly, it only makes it worse and whatever it is last much longer. As usual it's my bronchi that are objecting to life yet again.
Hope you feel better soon.