The morning after he angrily stormed off the mound after a defensive collapse by teammates, Phillies pitcher Kyle Kendrick apologized to manager Ryne Sandberg for his actions.

“We talked,” Kendrick said before Sunday afternoon’s game. “I know it wasn’t the right thing to do.”

Kendrick took a 5-1 lead into the sixth inning Saturday afternoon. The Giants tied the game with four runs in the inning and won it, 6-5, in the eighth.

The Giants’ four-run rally in the sixth was fueled by a misplayed pop up in the infield. The ball fell between Ryan Howard and Chase Utley and Utley compounded the mistake with an errant toss to second base.

General manager Ruben Amaro Jr. witnessed the meltdown from the seats and was noticeably upset when he left the clubhouse after the game.

“I’m hacked off after every loss like that, when we beat ourselves,” Amaro said Sunday. “It was terrible, plain and simple. It was embarrassing. It happens. It shouldn’t happen, but it happened.”

Kendrick said he was not angry at his teammates for the misplay, which was blamed on a communication breakdown.

“Obviously you want the ball caught, but I was just upset at coming out of the game,” he said. “The ball falling in had nothing to do with it. I didn’t handle it right.”

Sandberg removed Kendrick from the game after the next batter, Michael Morse, doubled to cut the Phillies’ lead to 5-2. The pitcher did not follow protocol and wait for the manager to get to the mound before exiting the field. He brushed past Sandberg and handed him the ball on the fly just as the manager reached the mound.