>because a grid connected system is supposed to shut down when the power fails, the only way out is to stop being grid connected
On that note I believe there are electrical devices that automatically disconnect you from the grid. It allows you to use a battery / solar array to power the house, while not feeding back any power to the grid such that you don't harm anyone trying to fix the grid.
Now whether or not this is allowed is very much dependent on which country you live in.
This video is in the UK and demonstrate such a device:
On that note I believe there are electrical devices that automatically disconnect you from the grid. It allows you to use a battery / solar array to power the house, while not feeding back any power to the grid such that you don't harm anyone trying to fix the grid.
Now whether or not this is allowed is very much dependent on which country you live in.
This video is in the UK and demonstrate such a device:
https://www.youtube.com/watch?v=gP51JjnWvLo