Matt Williams, who spent the first 10 of his 17 major league seasons as an infielder with San Francisco, is returning to the Giants as the third-base coach on new manager Bob Melvin's staff.