If the problem is an instant disconnect of a large load, switching that large load into charging batteries at that instant, for a minute or so, feels like a solution.
Why is this confusing? Batteries are both generator and load. If the grid needs load to stabilize frequency and voltage, batteries can become loads instantly.