I misread the question?
Starting a tank - yes run the heater and filter ( if there are live plants in the tank run the light but if not the light is not necessary )
Cleaning ( water changing ) - you switch everything off by the plug while you do a clean out. Then switch it back on after the light you switch on about 30 minutes after because the fish will be scared.
I hope this helped?