Gold stopped be used as money because people weren't really using it, they were using tokens pegged to it under a promise. That promise went away. Gold isn't exactly fungible (purity, fake gold etc), and it isn't easy to move in significant quantities. Gold makes for absolutely shit money in the 21st century