Hello: Because people's immunity is low and they are weak after a cold, it's best to reduce or temporarily stop exercising, because colds are mostly related to upper respiratory tract infections, and more exercise is not good for recovery.
Suggestion:
In your case, you should temporarily stop losing weight during a cold, and then continue to exercise after recuperating.