To run amok means to go awry, and in this context her imagination had done just that.
Context: "Or perhaps her imagination had truly gone awry." Claim: "Or perhaps her imagination had truly run amok."
Considering the context, is the claim true, false, or unknown?