First baseman Brett Pill traveled back to San Francisco and will undergo arthroscopic surgery on Thursday to repair a torn meniscus in his right knee, Giants manager Bruce Bochy said.