It's obviously Littlefinger responsible for her reappearance. Notice how the poison necklace ended up in the hands of the Grandmeister. That key piece of evidence was last seen with Littlefinger and he'd doubtless have rerouted Shae there as well, without even coercing her to lie.