Marc-Edouard Vlasic scored 41 seconds later to tie it 2-2 when a backdoor pass from Matt Benning deflected in off his skate. Although the goal was originally disallowed, the call was reversed after a video review determined Vlasic did not kick the puck into the net.
"I knew I didn't kick it, but the ref was so convincing. He waved it off right away, so I thought it wasn't a goal," Vlasic said. "I didn't kick it. I turned my foot, and evidently it counted."
Vlasic was playing in his 1,200th NHL game, all with the Sharks.
"A win is good no matter if it's 1,200, 1,201," he said. "Right now, we need the wins. It feels good to win."
Asked what he would do with the game puck, Vlasic replied: "I don't know. I'll probably play street hockey with my dogs with it, or they'll steal it and put a hole in it."
Alexander Barabanov gave the Sharks a 3-2 lead at 18:34 of the second, skating across the zone before scoring with a backhand short side on Mrazek.
Timo Meier pushed it to 4-2 at 3:52 of the third period, scoring on a rebound in the crease after Hertl's redirection of Harrington's point shot dropped down at the side of Mrazek.