If I were you, I would only accept not teaching online because you need to worry about your and your baby's health. You just have to understand that the pandemic will not last forever and sooner or later you will be back in the classroom.