Matt Cain had Hanley Ramirez in an 0-2 hole and was one pitch from working out of a third-inning jam.