DETROIT (AP) - After being dominated in the first period, the San Jose Sharks owned the last 40 minutes.
Joe Pavelski got his fifth career hat trick, including scoring twice in less than a minute late in the second period, to give the Sharks a 5-3 win over the Detroit Red Wings on Sunday.
"I thought it was great the way we responded in the last two periods," Pavelski said. "When we got in here after the first, Pete (coach Pete DeBoer) told us how we looked, and we knew we were coming off a bad game last night (a 4-0 loss to the Columbus Blue Jackets). That's why it was so important for us to step up and play the way we did in the last two periods."
San Jose trailed 2-1 after a first period in which it was outshot 15-5. Red Wings defenseman Mike Green made it 3-1, eight minutes into the second, with his fifth goal of the season.
But the Sharks scored three times within 2:55 late in the second period to take a 4-3 lead. Pavelski, the team's captain, got the last two, 55 seconds apart.
His power-play goal with 4:10 left in the second tied the game at 3-3 and Pavelski gave the Sharks the lead with 3:15 remaining in the middle period. He completed the hat trick with an empty-net goal with a minute left for his 35th of the season.
Burns brought San Jose within 3-2 with his 13th goal, with 6:10 left in the second period.
"I thought that shot turned the entire game around. We're down 3-1, we win a faceoff and he puts it in," Pavelski said about Burns' goal, which came on a wrist shot from the left point.
"We all know he's got that shot in his locker and we needed it right there. Then we get a power-play goal and we got rolling."
Burns also had an assist and defenseman Tim Heed also scored for San Jose, which outshot Detroit 32-8 in the last two periods and held the Red Wings without a shot for more than 26 minutes in the second and third periods.
Defenseman Marc-Edouard Vlasic and Logan Couture had two assists each and Aaron Dell made 20 saves.
Sharks star defenseman Erik Karlsson did not play because he aggravated a groin injury in a 4-0 loss to the Blue Jackets on Saturday night.
Green also had an assist and Darren Helm and Gustav Nyquist scored for Detroit. Justin Abdelkader had two assists and Jonathan Bernier stopped 32 shots.
"We just didn't have the same dig. I thought those two quick goals just crushed us," Red Wings coach Jeff Blashill said. "We spent the rest of the game just trying to get the puck out of our zone to get a line change."
Right wing Filip Zadina made his NHL debut for the Red Wings. Zadina, 19, was the sixth overall pick in the 2018 draft. He was minus-1, with one shot in 10:38 of ice time. Zadina was recalled from AHL Grand Rapids, where he had 15 goals and 31 points in 45 games.
NOTES: Madison Bowey, who was acquired by Detroit in a trade with the Washington Capitals on Friday, was a healthy scratch. ... Vlasic reached 300 points in his career.
San Jose: Visits Boston on Tuesday.
Detroit: Hosts Montreal on Tuesday.