SAN FRANCISCO -- Moises Alou wants his manager father to go out on a winning note if Felipe Alou does retire next week after nearly five decades in major league baseball.
He wants to go home out of last place in the NL West, too, and knows that would make the fans a little happier about San Francisco's disappointing season.
Alou hit a two-run homer in the bottom of the ninth inning, and the Giants ended a five-game losing streak with a 4-2 victory over the Arizona Diamondbacks on Tuesday, one night after being eliminated from playoff contention.
"It takes a lot of mental work to get pumped up for a game like tonight," Alou said. "The dugout's dead, the stands are dead. You try to pump the guys up a little bit. It seems like everybody's waiting for the Dodgers to get excited. We can't wait for the weekend. ...
"It was a dead atmosphere in the whole building today. Hopefully this win will get us excited to win some games."
Alou sent a 1-0 pitch from Brandon Lyon just over the wall in left for his 22nd homer of the season and seventh career game-winning homer. Randy Choate (0-1) hit Todd Linden with a pitch with one out in the ninth. The Giants mobbed Alou and danced at home plate.
Felipe Alou, 71, might not be back for a fifth season as Giants' skipper.
"I want my dad to finish strong with his record," Moises Alou said. "We're getting paid. This is our job to perform. I can't come and just go through the motions."
Pinch-runner Fred Lewis tied the game at 2 in the bottom of the eighth on pinch-hitter Mark Sweeney's RBI-fielder's choice. Second baseman Alberto Callaspo threw home wildly for an error trying to get Lewis, who reached third on a wild pitch.
Mike Stanton (7-6) pitched the ninth for the win as the Giants won for the third time in 13 games.
Carlos Quentin hit a two-run homer halfway up the bleachers in left field in the fifth, but Arizona's bullpen couldn't hold a 2-1 lead.
Brandon Webb, coming off a loss at San Diego last Thursday, outpitched Matt Morris in their first matchup of 2006.
Webb allowed one earned run and three hits in eight innings, while Morris gave up two runs and seven hits in eight innings and avoided losing his fifth straight start.
"I'm obviously upset we didn't win the game," Webb said. "I felt pretty good out there. I made some pretty good pitches."
Webb also had two hits for his first multi-hit game since April 7, 2004.
Felipe Alou considered playing a younger lineup but said he wanted to give Morris the best chance to win in what likely was his final 2006 outing. The right-hander had an inconsistent year in his first season with San Francisco.
"It's good to end on this note," Morris said. "I wish my whole season was like this where I had control. You learn from it and I will definitely sit down and re-evaluate the season ... and try to come back stronger. I wanted to go out with no regrets in this game."
Barry Bonds had the night off and said before the game he plans to play sparingly in the season's final week.
"I'm done. My elbow hurts," Bonds said, sitting at his corner locker in the clubhouse. "I will play in the L.A. series."
The slugger, in the final days of his $90 million, five-year contract with San Francisco, said he would likely also take off Wednesday's day game against Arizona then play Friday night in the series opener with the Dodgers -- and perhaps a few innings Saturday.
The 42-year-old Bonds has 734 home runs, 21 from tying Hank Aaron's all-time record of 755, and has played significantly better since the All-Star break. He is hitting .382 (34-for-89) with 10 home runs, 26 RBI and 18 walks in his last 28 games and has raised his batting average 36 points from .235 to .271 during that stretch.
Arizona has lost the season series for the fifth straight year, trailing 11-7.
D'Backs 2B Orlando Hudson rejoined the team after two days away to tend to family matters, but manager Bob Melvin didn't write him into the starting lineup. Prospect Alberto Callaspo started in his place. ... Arizona C Miguel Montero, who recorded his first major league hit among his three Monday, will get another start before the end of the season. ... Arizona's Eric Byrnes had back-to-back games with extra-base hits for the first time since Aug. 27-28.