A general power grid issue affecting major cities is a very different situation to eg Storm Eowyn where in rural areas homes didn't have power for long period but power was restored to towns more quickly.
But if it's a general power cut well it seems doubtful how much new stock would be coming into shops in terms of fresh produce... it's unclear how well some stores could operate and anything already in shops that do open would be quickly cleared out.
For many people freezers, fridges and cookers will be no good in that situation either. So it seems as important to have a small stock of ambient items at home you can get by on for a few days as cash in that situation.
Where an issue affects banking \ credit card \ atm processing, in that scenario a small cash reserve would be useful.