Its like keeping a gun, you hope it never gets used but when you need it, you're glad you have it.
Whatever the population rallied around as a medium of exchange would have to be accessible, ubiquitous, and hard to duplicate. Gold hits 1 out of 3, because once the financial system collapses no one without gold will be able to use their inflated $1,000,000 bills to buy it directly, leaving only that tiniest minority with actual gold and a vast majority that can't wait for gold to bootstrap itself into a reasonable medium of exchange.
Want to make sure you can retain your wealth & have it back after we rebuild from a financial collapse? Sure, have some gold. But if you want to to have an immediate ability to acquire things during that collapse, gold won't help. If your heat goes out a month after financial institutions collapse, No HVAC engineer is going to fix your boiler for gold unless they already have enough people giving them food and other services for their work that they can risk taking something in return that doesn't have an immediate use.
I'm not saying gold couldn't be a medium of exchange. Obviously it has in the past. I'm saying that current ownership patterns don't make that practical, especially in the short term, say 1-2 years, after a serious financial collapse.
Obviously preparing for food and other necessities should have a separate plan..