Does solar work during power cut?

As a safety measure the inverters will switch off during a power cut as it would be dangerous for the grid engineers to work on a live line.