The popular second baseman had surgery Thursday to remove a portion of a disc in his lower back, ending any chance of returning this season and likely ending his career as a Giant.