The essence is the same, both of which cause energy differences. If you don't exercise for a while, you will not only consume fat, but also consume muscles to make up for the lack of energy consumption. Gradually adapt to the new diet.
Exercise can preserve muscles, but only for strength training. Aerobic exercise only consumes energy. The function of muscle preservation is very limited. Walking a mile is almost equal to a can of Coca-Cola.