The errant life of a heavy quark in the quark-gluon plasma