Flu + sleep

Does a flu/cold throw off your baby’s sleep habits at night? For how long?

My 5.5 month old was just coming out of a sleep regression and seemed to be getting better with sleep and then she caught a cold! 🙄😭

It’s been 3 nights, her cold is pretty much gone but she’s sleeping so poorly again. I’m losing my mind.