Inspired by this question, I've been wondering how far a probe has been from Earth, conducted its mission, then subsequently returned to Earth.
I'm aware of the Hayabusa and Stardust missions, but I've not found any information on how far away they travelled, either at maximum distance or during the encounters with Itokawa or the various asteroids and comets of the Stardust mission. Which of these went further away from Earth, and was either of them the furthest ever, or is there another mission I've not found?
I'm mainly interested in physical separation from Earth, though distance measured by differences in orbital distance from the Sun would also be interesting.
By "returned to Earth" I mean re-entering the atmosphere, either purposefully or accidentally / fatally, not for the many missions that have used Earth for a gravity assist.