ANAHEIM -- Tomas Hertl scored two goals before leaving with an undisclosed injury, and the San Jose Sharks won their season-high fifth consecutive game, 5-3 against the Anaheim Ducks at Honda Center on Thursday.
Hertl left after taking a hit midway through the third period. Sharks coach Peter DeBoer did not have an update after the game.
Brent Burns, Evander Kane and Logan Couture each had a goal and an assist, and Martin Jones made 29 saves for the Sharks (9-10-1).
[WATCH: All Sharks vs. Ducks highlights]
"We're still in a hole here so we've got to make sure that we continue to build our game," Jones said.
Rickard Rakell and Jakob Silfverberg each had a goal and an assist, and John Gibson made 30 saves for the Ducks (9-9-2), who completed a season-long seven-game homestand winless in their past five games (0-3-2).
"We clearly didn't get enough points (on the homestand)," Rakell said. "Going on the road here, we know there are lot of tough teams we are playing. We're just going to have to find a way to win games."
After two difficult shorthanded saves by Jones, Burns gave the Sharks a 3-2 lead with a power-play goal at 8:05 of the third period.
Video: SJS@ANA: Burns beats Gibson from the slot for PPG
The Ducks then went on a power play at 9:10, and Kane scored shorthanded off a 2-on-1 pass from Couture to make it 4-2 at 10:32.
"With his speed, he can beat guys up the ice and he was hungry to score that goal," Couture said.
Max Jones trimmed the lead to 4-3 at 15:50, but Couture scored on a breakaway with 39 seconds left to make it 5-3 as Gibson was preparing to leave the ice for an extra attacker.
"I thought in the third we found another level, our entire team," DeBoer said.
Video: SJS@ANA: Jones nets goal on the rush to trim deficit
The Ducks took a 1-0 lead at 1:09 of the first period. San Jose defenseman Radim Simek retrieved the puck along the wall and tried to pass it out of the zone, but Silfverberg deflected it to a trailing Rakell, who scored from the right circle on a wrist shot.
Hertl scored for the fifth straight game to tie it 1-1 at 6:44.
Gibson made a save on Barclay Goodrow on a 2 on 1, but Hertl came in behind and pushed the puck across the goal line as it rested against Gibson's right pad. A video review confirmed the goal.
Anaheim, which came in with the 30th-ranked power play in the NHL (8.2 percent), took a 2-1 lead against the No. 1 penalty kill unit (91.4 percent) when Silfverberg pushed in a rebound with the man-advantage at 13:00 of the second period.
"We really got to bear down and get that next one," Ducks forward Adam Henrique said. "It seems like, in a few of these games, where we're up one. ... we've got to be able to step on their throat kind of thing."
Hertl tied it 2-2 at 18:28 on a wrist shot from the right circle into the top left corner, giving him nine points (six goals, three assists) in the five-game point streak.
They said it
"We talked between the second and third (periods) that we had an opportunity to win this game if we get some more guys going. I thought our third was obviously our best period." -- San Jose coach Peter DeBoer
"There has certainly been positives in a lot of the games we've played of late. Putting together that full 60 minutes has still been the challenge." -- Ducks forward Adam Henrique
Need to know
San Jose forward Timo Meier had two assists and has nine points (three goals, six assists) in a five-game point streak. … Kane's goal was San Jose's first shorthanded, game-winning, third-period road goal since Curtis Brown at Anaheim on Oct. 13, 2006. … The Sharks recalled defenseman Dalton Prout from a conditioning assignment with San Jose of the American Hockey League on Thursday. Prout, who had not played in the NHL since sustaining an upper-body injury in the season-opener against the Vegas Golden Knights on Oct. 3, played 9:32. .... The Ducks played their 1,000th home game in history. They are 537-330-133 in Anaheim. … Henrique has five assists in a four-game point streak. … Silfverberg has two goals and three assists in a four-game point streak. … Ducks forward Sam Steel has five assists in the past five games.
Sharks: Host the Detroit Red Wings on Saturday (10:30 p.m. ET; NBCSCA, FS-D, NHL.TV)
Ducks: At the St. Louis Blues on Saturday (8 p.m. ET; FS-MW, FS-W, NHL.TV)
Video: Hertl scores twice to lead Sharks past Ducks, 5-3