In this process, if you don't replenish energy, you will of course become thinner and thinner.
You should increase protein's supplement while exercising, so that your weight will go up, because the weight of muscle with the same volume is higher than that of fat.