Wings lose, 3-2, on late Sharks' goal
San Jose, which won its fifth straight, also got goals from Patrick Marleau and Mark Bell.
Mikael Samuelsson and Mathieu Schneider scored for Detroit.
After a turnover by Dan Cleary just inside the Wings' blue line, Pavelski took a pass from Milan Michalek, cut in from the left side, made a move and beat Joey MacDonald with a forehand shot.
Bell tied it at 2 with 3:31 left in regulation when he put his own rebound past MacDonald.
Samuelsson and Schneider scored 1:22 apart in the second period to give the Wings a 2-1 lead. Samuelsson tied it 1-1 at 11:27 with a wrist shot from the inside edge of the right circle. Only nine seconds after San Jose's Marc-Edouard Vlasic went off for hooking, Schneider sent a shot from the high slot that trickled between Vesa Toskala's pads. It was Schneider's seventh goal.
The Sharks opened the scoring on Marleau's power-play goal 3:14 into the game when he scored on a rebound.
An apparent goal by Schneider with 3:13 left in the opening period was waved off because Wings forward Tomas Holmstrom was ruled to be in the crease. Replays showed that Holmstrom's skates were outside the painted area.
Notes: Wings C Kris Draper was hit in the face by a clearing attempt by teammate Chris Chelios with 2:17 left in the first period and immediately went to the dressing room. He returned in the second period. ... It was Chelios' 1,500th NHL game. ... Detroit RW Jason Williams returned after missing a game with a charley horse. ... Wings D Niklas Kronwall didn't play because of a sore groin. ... Detroit LW Johan Franzen missed his fifth game because of a concussion and knee injury.