The Giants staged a wild ninth-inning rally Wednesday night without Pablo Sandoval, who was receiving treatment in the trainer's room at the time.

They rallied for a 2-2 tie but lost to the Marlins 3-2 in the 10th when Santiago Casilla surrendered a home run to Giancarlo Stanton.

Afterward, manager Bruce Bochy explained why Sandoval exited after his sixth-inning at-bat, a groundout to third base.