After an emotional victory over the Golden Knights, the Sharks lost their final home game.

SAN JOSE — The good vibes the Sharks enjoyed after their incredible win over the Vegas Golden Knights this weekend didn’t have a lasting effect.

The Sharks, in their last home game of the season, were three goals behind at the start of the second period and never fully recovered from a 5-2 loss to the Anaheim Ducks on Tuesday in front of a reported crowd of 13,378.

Brent Burns and Scott Reedy scored goals, while goaltender Kaapo Kahkonen finished the season with 25 saves and San Jose ended the year with an 18-18-5 record at home. The Sharks end the season with road games against Edmonton and Seattle on Thursday and Friday, respectively.

The Sharks (32–36–12) scored twice in the last five minutes of the second period and fell 3–2 to the Ducks in the third.

As Ducks defenseman Urho Vaakanainen served a penalty, Burns fired from behind the blue line, blasting through traffic and past goaltender Anthony Stolartz, cutting Anaheim’s lead to 3-1 with 4:28 left in the second period.

The Sharks cut Anaheim’s lead to 3-2 at 18:36 when Reedy redirected a Jacob Meghna pass past Stolartz for his sixth goal of the season.

It was as close as San Jose as Josh Mahura scored in the middle of the third and Zach Aston-Reese added a goal into an empty net in the last minute.

Kahkonen conceded goals to Trevor Zegras, Max Comtua and Sonny Milano in the Ducks’ first 11 shots. Zegras’ goal came in a power play by the Ducks when he hit under the bar and over Kahkonen’s left shoulder at the 4:05 mark of the first period.

Comtois and Milano scored 56 seconds apart in the second period, with Comtois scoring at 5:36 just five seconds after Urho Vaakanainen’s free-kick with a hook.

Until Tuesday, the Sharks were 3-2-1 up in their last six games, including a dramatic 5-4 penalty shootout victory over the Vegas Golden Knights on Sunday.

San Jose swept away Vegas’ 4-2 lead in the last three minutes of regulation, with Timo Meier scoring with 0.9 seconds left in the third period to send the game into overtime. In the shootout, rookie center Thomas Bordelo was the only player on either team to score a goal as the Sharks snapped an 11-game losing streak to the Golden Knights.

Kahkonen has shared time in the Sharks net with James Reimer in recent weeks, as Bob Bowner has mostly been back and forth between his two goaltenders this month.

This worked well for Kahkonen, as he had some time to master the Sharks system and get to know his teammates while working with goaltending coach Yevgeny Nabokov.

“For the moment everything was fine,” Kahkonen said on Tuesday morning. “We play so many games in such a short amount of time that it almost feels like you’re the starter even though you play every other night.”

However, Kahkonen is entering a stage in his pro career where he feels he is capable of becoming the number one goaltender in the NHL.

A fourth-round pick by the Minnesota Wild in 2014, Kahkonen spent most of the 2018–19 and 2019–2020 seasons with the AHL’s Iowa affiliate. He then supported Cam Talbot at a big club for the last 1.5 seasons, going 31-17-4 with a .907 save percentage.

The next step for Kahkonen is to be number one with the Sharks, or at least 1A or 1B with Reimer or Adin Hill, both of whom are under contract for next season. Kahkonen is a restricted free agent.

Kahkonen came out Tuesday with a 2-4-1 record and a .920 shooting percentage in nine games for the Sharks.

“Yes, definitely,” Kahkonen said of being No. 1. “That’s the goal and that’s what I want to achieve here in the near future.”

The 25-year-old Kahkonen has a busy summer ahead of him if he wants to be able to play 50-55 games next season. The most games he has played in the last four years since he came to North America was 39 games for Iowa in the 2018-19 season.

“This is my first full season in the NHL,” Kahkonen said, adding that he will change his training regime during the off-season to prepare for as much pressure as possible.

“It’s not that I haven’t been working hard, but maybe I’m working on something different than what I’ve been working on before. I don’t think about it too much, but obviously there are always things you can get better at.”