Discerning fans at AT&T Park gave Barry Zito a standing ovation after Zito retired the Dodgers' Carl Crawford on a short fly to left to end the fifth inning Wednesday night.

Those fans realized it probably was the end of Barry Zito's career as a pitcher for the Giants.

Sure enough manager Bruce Bochy had Roger Kieschnick pinch hit for Zito leading off the bottom of the inning with the Giants in front 5-2.

So in what was almost assuredly his final start in orange and black Zito picked up his first win since May 30 as San Francisco beat Los Angeles 6-4.

Zito lobbied Bochy to stay in the game and the left-hander admitted to some disappointment when that lobbying ultimately didn't sway his manager.

Said Zito: "I just let him know this is my game. I'm going to go out there and shut 'em down. I feel good. ...

"I was frustrated but I understand and I definitely stick behind Boch."

There was some thought that Bochy could have allowed Zito to have the entire crowd acknowledge him. Bochy either could have let Zito go to the plate then sent up a pinch-hitter or even let Zito bat take his warm-up pitches for the sixth and then bring in a reliever.

"We were thinking about winning the game" Bochy said. "We weren't in a situation where you're thinking about a curtain call."

Not that Bochy wasn't aware of the moment. Bochy and Zito both joined the Giants before the 2007 season.

"It's been a joy to be with Barry" Bochy said. "I couldn't be happier for him right now to win tonight's game."

Zito's seven-year $126 million contract ends after this season and the Giants undoubtedly will give him a $7 million buyout rather than pick up an $18 million option for 2014.

The 2013 season has been a slog and then some for Zito (5-11). He had lost his previous eight decisions and hadn't pitched since Sept. 2.

Given all that his five-inning outing Wednesday rated as quite a success. He retired the first nine hitters and allowed two runs (one earned) on four hits. Zito's career numbers with the Giants: 63-80 with a 4.62 ERA.

Before the game Zito's teammates made it clear they appreciate his demeanor and professionalism.

"He's had some struggles he's had success but he's been the same guy throughout" Buster Posey said. "Just in general he's a good person. He's somebody that you can talk to easily and talk about things other than just baseball."