Companies you invest in do not buy the gold back from you, and due to government laws, they cannot guarantee either.
However, many companies will buy the gold back from you, but make sure you keep an eye on those who will buy below market price