KANSAS CITY, Mo. -- The Giants might have lost Ray Durham to a sprained ankle, but the play that knocked him out of the game virtually assured them of a win.
Durham sprained his right ankle while hitting a bases-clearing double in a four-run sixth inning, and San Francisco rallied for a 9-4 victory Friday night that snapped the Kansas City Royals' five-game winning streak.
"It actually happened on the swing," Durham said. "When I planted, it didn't do what it was supposed to do. I actually yelled when I was coming out of the box. I'm hour-to-hour. Hopefully, it will feel better tomorrow than it does now. I'll see how it is overnight."
The Giants, who trailed 4-0 after three innings, scored all of their runs in the sixth with two outs off relievers Yasuhiko Yabuta (1-3) and Carlos Rosa.
Durham, who was 2-for-19 and failed to drive in a run on the Giants' just-completed homestand, went 3-for-4 to raise his average to .294, and scored two runs before leaving.
""I just had to be ready to get one that I could handle and I did that," he said. "I just wanted to put the ball in play. You put the ball in play anything can happen, especially with the bases loaded and a tie game."
After giving up three runs on three hits in the first, Matt Cain (4-5) limited the Royals to two singles -- both by Joey Gathright and one was a bunt -- to pick up just his second victory since May 13.
"After giving up three in the first, you definitely put the pressure on yourself," Cain said. "You just try to go out and keep it at zeros after that and just try to give your team a chance to win. It's just one inning. Obviously, it's a big crooked number, but there is still a whole lot of game left. If you can't live with yourself for giving up runs every once in a while or all in one inning, I just don't think you can pitch."
Cain worked eight innings, matching his season high, and allowed four runs, three earned, with eight strikeouts and one walk.
"He got better," said Mark Grudzielanek, who had two of the Royals' seven hits. "He's going to settle down. He's not the type of guy you're going to go in and score 10 off of unless he's wild. He uses that to his benefit. It's hard to dig in against a guy like that. We had a chance to get him against the ropes. We thought we did. But their offense came back and scored a bunch of runs."
Jose Guillen, who leads the American League with 27 doubles, added a two-run double in the first and scored on Grudzielanek's single. The Royals scored an unearned run in the third when David DeJesus walked, stole second, went to third on Bengie Molina's throwing error and scored on Mike Aviles' sacrifice fly.
"We were productive with the few hits we had as far as scoring runs," Royals manager Trey Hillman said. "We didn't hit the ball very hard. He's got real good sink. He's got good velocity. He moved the ball around pretty well. I was pleased with our approach early, but I thought we would have ended up hitting more balls hard than we did."
The Giants got two runs back in the fourth with John Bowker and Rich Aurila driving in runs.
The Giants tied it 4-4 in the fifth and chased Royals rookie right-hander Luke Hochevar. Vizquel led off the inning with a walk and Fred Lewis singled, extending his hitting streak to a career-high 10 games. Durham's single loaded the bases, and Winn's sacrifice fly scored Vizquel before Molina's single tied the game.
"You can't say enough about how Cain settled down," Giants manager Bruce Bochy said. "He gave us the chance to have the comeback."
Aaron Rowand's second double scored Winn in the ninth.