I mean, I definitely have some money invested in gold to hedge against partial collapse. Certainly if all of society crumbles to the point contract law goes caput, it doesn't mean a damn thing.
In the case things "merely" get fairly shitty, but society continues to more or less function, then gold has historically shown good staying power in terms of it being a highly sought after good, despite lack of actual function in many cases.