Karel Vejmelka made 40 saves, and Nick Schmaltz had a goal and an assist for the Coyotes (21-41-5), who lost their leading scorer, Clayton Keller, to a leg injury with 5:15 remaining after the forward fell and hit the end boards legs first. He was taken to a hospital for evaluation.
"There was a lot of emotion out there," Jenik said. "You're glad we were able to come out of it with a win, but we lost our best player."
Brent Burns and Scott Reedy scored for the Sharks (29-29-8), who had won three of four. James Reimer made 19 saves.
"We had plenty of chances," San Jose coach Bob Boughner said. "We hit three or four posts, but give them credit, their goalie played well. That's sometimes what you get when you don't capitalize early in the game. They pounced on our mistakes."
Keller, who has scored 63 points (28 goals, 35 assists) in 66 games, gave a thumbs-up as he was leaving with the medical staff.
"We know it will be long-term, but he will recover," coach Andre Tourigny said. "We're all sad not just with him getting hurt but being in pain like that. … He's the heart and soul of our team."
After the game, multiple Coyotes players gathered in the medical area where Keller was rather than go immediately to the locker room.
"It was tough to watch, obviously everyone in the building felt that," Arizona forward Barrett Hayton said. "It definitely took a lot of fortitude, a lot of strength to refocus. Everyone was thinking of 'Kells.'"
Jenik gave the Coyotes a 3-2 lead at 7:11 of the third period after a pass from Phil Kessel in the slot.
The Coyotes scored two quick goals after Keller was injured. Hayton made it 4-2 at 17:02, and Schmaltz scored an empty-net goal with 46 seconds left for the 5-2 final.
"It's exactly what the guys said on the bench, 'Let's make sure we finish up for him,'" Tourigny said. "It sounds like a cliché, but you could really feel it. Guys meant it and we were on a mission after that and played our best hockey."