All your livestock is photosynthetic. I’m sure they can survive a day to three without light, but a week? No.
Why don’t you try a more proactive approach and try to find out why you are getting algae in the first place. Algae uses light to survive, but their main source of food is nitrates and phosphates. Whether you are adding too much food (nitrates) or not using a good source of water like tap (phosphates) you could be adding it to your system.
Are you exporting nutrients as well? Skimming and water changes and the best ways.
Have you tried getting a CUC like snails?
To me, your algae doesn’t look bad at all. It’s not even on the rocks, just glass which most people have. Your corals look really healthy too, so that’s a great sign as well!