Any lifting is better than none, just take it easy. Don’t over-exert yourself, and listen to your body. If you don’t feel like anything, don’t. Just go for an easy walk.
Just being alive burns the most calories, adding light cardio (walking) only adds to it. Going balls to the wall during a fast isn’t a good idea, IMO.
Don’t overcomplicate it. Just fast and live your life.