It's ok to take a rest and keep moderate exercise at the same time.
Proper exercise during pregnancy can avoid obesity and excessive weight gain during pregnancy, and can also prevent the occurrence of macrosomia, which is conducive to natural delivery.