Bo Horvat scored three of Vancouver's five goals in the third period for his first career hat trick, and the Canucks rallied from two down to defeat the skidding Detroit Red Wings 5-2 on Tuesday night.

Jake Virtanen got the game-winner and Tim Schaller also scored for Vancouver, which has won six of seven. Elias Pettersson and defenseman Quinn Hughes had two assists apiece. Jacob Markstrom stopped 31 shots.

More Images
Vancouver Canucks right wing Jake Virtanen, right, celebrates his goal with Bo Horvat (53) during the third period of the team's NHL hockey game against the Detroit Red Wings, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Bo Horvat scored three of Vancouver's five goals in the third period for his first career hat trick, and the Canucks rallied from two down to defeat the skidding Detroit Red Wings 5-2 on Tuesday night.

Vancouver Canucks center Bo Horvat (53) scores on Detroit Red Wings goaltender Jimmy Howard (35) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Horvat, the Canucks' captain, scored two power-play goals in a span of 1:31 early in the third to tie the game at 2. He put in a rebound at 1:42 and tipped in a shot from the point by Hughes at 3:13.

Detroit Red Wings defenseman Dennis Cholowski (21) is dumped by Vancouver Canucks center Tim Schaller (59) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Mantha's 5-on-3 power-play goal gave Detroit a 1-0 lead with 3:52 left in the first period. He scored on a one-timer from the top of the right circle. It was Mantha's seventh goal.

Vancouver Canucks goaltender Jacob Markstrom stops a Detroit Red Wings shot during the second period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

UP NEXT

Vancouver Canucks center Bo Horvat (53) and Detroit Red Wings goaltender Jimmy Howard (35) watch the puck bounce off the goal post during the first period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Bo Horvat (53) and Detroit Red Wings goaltender Jimmy Howard (35) watch the puck bounce off the goal post during the first period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Tim Schaller (59) holds Detroit Red Wings defenseman Filip Hronek (17) while chasing the puck during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Tim Schaller (59) holds Detroit Red Wings defenseman Filip Hronek (17) while chasing the puck during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Detroit Red Wings defenseman Dennis Cholowski (21) celebrates his goal with Filip Hronek (17) during the second period of an NHL hockey game against the Vancouver Canucks, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Detroit Red Wings defenseman Dennis Cholowski (21) celebrates his goal with Filip Hronek (17) during the second period of an NHL hockey game against the Vancouver Canucks, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Anthony Mantha and defenseman Dennis Cholowski scored for Detroit, which lost its fifth in a row. Jimmy Howard made 35 saves.

Vancouver Canucks right wing Jake Virtanen, right, celebrates his goal with Bo Horvat (53) during the third period of the team's NHL hockey game against the Detroit Red Wings, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks right wing Jake Virtanen, right, celebrates his goal with Bo Horvat (53) during the third period of the team's NHL hockey game against the Detroit Red Wings, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Horvat, the Canucks' captain, scored two power-play goals in a span of 1:31 early in the third to tie the game at 2. He put in a rebound at 1:42 and tipped in a shot from the point by Hughes at 3:13.

Virtanen got the winner when his attempted pass from the right circle deflected off the skate of Red Wings defenseman Filip Hronek and past Howard. It was Virtanen's first goal.

Schaller added his first goal with 5:39 left and Horvat completed his hat trick with an empty-net goal with 1:12 remaining.

Vancouver Canucks center Bo Horvat (53) scores on Detroit Red Wings goaltender Jimmy Howard (35) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Bo Horvat (53) scores on Detroit Red Wings goaltender Jimmy Howard (35) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Mantha's 5-on-3 power-play goal gave Detroit a 1-0 lead with 3:52 left in the first period. He scored on a one-timer from the top of the right circle. It was Mantha's seventh goal.

Cholowski made it 2-0 at 9:19 of the second with a 4-on-3 power-play goal. He beat Markstrom with a wrist shot from the right circle. It was Cholowski's first goal of the season.

NOTES: Vancouver D Quinn Hughes played college hockey at Michigan. . Detroit recalled forward Evgeny Svechnikov from Grand Rapids of the AHL and sent D Alex Biega to the same team. The Red Wings acquired Biega in a trade with the Canucks on Oct. 6.

Detroit Red Wings defenseman Dennis Cholowski (21) is dumped by Vancouver Canucks center Tim Schaller (59) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Detroit Red Wings defenseman Dennis Cholowski (21) is dumped by Vancouver Canucks center Tim Schaller (59) during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

UP NEXT

Canucks: Host the Washington Capitals on Friday.

Red Wings: At the Ottawa Senators on Wednesday.

More AP NHL: www.apnews.com/NHL and www.twitter.com/AP_Sports

Vancouver Canucks goaltender Jacob Markstrom stops a Detroit Red Wings shot during the second period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks goaltender Jacob Markstrom stops a Detroit Red Wings shot during the second period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Bo Horvat (53) and Detroit Red Wings goaltender Jimmy Howard (35) watch the puck bounce off the goal post during the first period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Bo Horvat (53) and Detroit Red Wings goaltender Jimmy Howard (35) watch the puck bounce off the goal post during the first period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Tim Schaller (59) holds Detroit Red Wings defenseman Filip Hronek (17) while chasing the puck during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Vancouver Canucks center Tim Schaller (59) holds Detroit Red Wings defenseman Filip Hronek (17) while chasing the puck during the third period of an NHL hockey game Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Detroit Red Wings defenseman Dennis Cholowski (21) celebrates his goal with Filip Hronek (17) during the second period of an NHL hockey game against the Vancouver Canucks, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)

Detroit Red Wings defenseman Dennis Cholowski (21) celebrates his goal with Filip Hronek (17) during the second period of an NHL hockey game against the Vancouver Canucks, Tuesday, Oct. 22, 2019, in Detroit. (AP PhotoPaul Sancya)