SAN FRANCISCO -- Batting in the bottom of the 10th inning with a runner in scoring position and his team down by one run Saturday, San Francisco Giants leadoff man Angel Pagan didn't ask much of himself.
An RBI single, setting up someone else to be the hero, would have been just fine. Halfway around the bases, however, that all changed.
Encouraged by third-base coach Tim Flannery, teammates flooding out of the dugout and a sellout crowd, Pagan circled the bases in a desperate dash to complete a two-run, inside-the-park home run, lifting the Giants to a 6-5 victory over the Colorado Rockies in a game that saw the ejection of Giants manager Bruce Bochy.
"That's one of the top," Pagan said of his all-time baseball highlights, which include winning a World Series last season. "(Inside-the-park home runs) are exciting, but they don't get any more exciting than when they end the game."
After Rockies shortstop Troy Tulowitzki hit Sergio Romo's third pitch for a go-ahead solo home run in the top of the 10th, Brandon Crawford drew a leadoff walk from Rafael Betancourt (1-2) in the Giants' half of the inning.
Pinch-hitter Guillermo Quiroz sacrificed Crawford to second, and Pagan then belted a shot well over the right shoulder of right fielder Michael Cuddyer.
The ball short-hopped the angled wall in right-center field and bounced away from Cuddyer, forcing center fielder Dexter Fowler to run it down in center field.
Flannery aggressively waved Pagan all the way, and he easily beat a relay throw to the plate for the Giants' seventh walk-off win of the season.
"I was running out of gas," Pagan said of the first walk-off inside-the-park homer for a Giant since Bill Terry accomplished the feat in 1931. "He (Flannery) follows you home. He helped me make it."
So, Pagan insisted, did his teammates, who mobbed him at home plate, and what was left of the 41,784, many of whom were ready to blame home-plate umpire Alfonso Marquez for costing the Giants a win.
"It was a very emotional game," said Bochy, who watched the final 2 1/2 innings from the Giants' clubhouse. "We had some calls that didn't go our way, but we came back."
Bochy was ejected in the eighth inning for arguing after Marco Scutaro was called out at third base on a bloop single by Pablo Sandoval with one out and the score tied at 4.
Replays showed Rockies third baseman Nolan Arenado's swipe tag clearly missed Scutaro. The call was made by Marquez, who had rotated to third base on the play.
"That's the way he saw it," Bochy said. "That's why I'm a proponent of review. It's a tough view sometimes."
Marquez also denied the Giants a possible go-ahead run an inning earlier, calling Brandon Belt out at the plate on another play where replay appeared to show he was safe.
Trailing 4-0 after 3 1/2 innings, the Giants used a three-run sixth to get back to within striking distance, then tied the score in the seventh on an RBI double by Andres Torres off Rex Brothers.
The three-run uprising in the sixth, which was triggered by back-to-back doubles by Buster Posey and Hunter Pence, allowed the Giants to end a 24-inning scoreless drought against Rockies pitching.
Colorado starter Juan Nicasio's day ended in the process. Nicasio, who shut out the Giants for six innings last Sunday in a 5-0 Rockies victory in Colorado, surrendered two runs in five-plus innings this time. He gave up seven hits and one walk, striking out two.
The Rockies built their lead quickly against Giants starter Barry Zito. Carlos Gonzalez hit his second home run in two days, a massive two-run shot into San Francisco Bay that scored Fowler.
Gonzalez's homer, his 13th of the season, was only the 27th "splash hit" for a Giants opponent in the history of AT&T Park and the first for a member of the Rockies. It was the first surrendered by Zito.
Doubles by Tulowitzki and Cuddyer, the latter driving in a run, and an RBI single by Jordan Pacheco added two runs for the Rockies in the fourth, making it 4-0.
"To go up and then lose the lead, it's tough," Tulowitzki said. "It would have been a lot worse if we had lost (Friday, a 5-0 Rockies win). We still have a chance to win the series. That's something this organization hasn't done much here."
Zito, who had gone 3-0 with a 0.55 ERA in his first five home starts this season, left after six innings. He allowed four runs on seven hits, striking out three and walking one.
NOTES: The inside-the-park homer was the third of Pagan's career. The last player before Pagan to end a game with an inside-the-park home run was Rey Sanchez, playing for Tampa Bay, against Colorado in 2004. ... Giants hitters have 63 "splash hits" in AT&T history, 35 by Barry Bonds. ... Gonzalez has homered in three consecutive games. ... The two home runs by the Rockies give them 33 in road games this season, tying Atlanta for the NL lead . ... Sunday's series finale pairs the NL's top hitting team (the Giants) against the pitcher who has allowed the third-most hits in the league, Colorado's Jon Garland. ... Major League Baseball has moved the Giants' game at Atlanta on June 16 from the afternoon to the evening so it can be ESPN's national telecast. The game will start at 8:05 p.m. in Atlanta.