SAN JOSE >> The San Jose Sharks executed another stunning trade deadline deal Friday, sending winger Fabian Zetterlund, minor league forward Tristen Robins and a fourth round draft pick to the Ottawa Senators for forwards Zach Ostapchuk, Noah Gregor and a 2025 second round draft pick.

Zetterlund, who turns 26 in August, was believed to be an important piece to the Sharks’ future. Following the Sharks’ game against the Colorado Avalanche on Thursday, the right-shot Zetterlund had 17 goals and 36 points, fourth most on the team. Last season, Zetterlund led the Sharks with 24 goals.

Zetterlund is a pending restricted free agent in need of a new contract, as he’s in the final year of a two-year, $2.9 million deal he signed with the Sharks on July 1, 2023.

Per a source, the Sharks offered Zetterlund a new contract earlier this year, but Zetterlund’s camp wanted to wait until after the season. The Sharks recently circled back on contract extension talks, and Zetterlund’s camp countered with their own offer a few days ago.

It was unclear if that counteroffer played a role in Friday’s trade.

During training camp, Zetterlund told Bay Area News Group he wanted to remain a Shark long-term.

“I love this place. I love the city,” Zetterlund said in October. “I love everything about it, so of course I want to stay here for a long time.”Zetterlund’s reaction to Friday’s trade?

“Surprised,” a source said.

The 6-foot-4 Ostapchuk, a second-round pick by the Senators in 2021, is in his second full season as a professional. This year, he had 11 points in 15 games with Belleville of the AHL and four points in 43 games with the Senators, averaging just 9:20 in ice time.

Gregor, a fourth-round draft pick by the Sharks in 2016, is back for his second stint with the team.

Gregor, 26, played 17 games with the Sharks from 2019 to 2023 before becoming a restricted free agent. He was not given a qualifying offer by San Jose, and later signed a one-year deal as a free agent. Last July, he signed a one-year deal with the Senators and had six points in 40 games.

From the Sharks’ perspective, the key to the deal might be the second-round pick they received from Ottawa for this year’s draft. San Jose now has nine selections this year, including four in the first two rounds.

The Zetterlund trade put a bow on an hectic few days for Sharks general manager Mike Grier, who sent five players to contending teams this week.

The Sharks traded goalie Vitek Vanecek and center Nico Sturm to the Florida Panthers in separate deals on Wednesday and Thursday, respectively. In the Vanecek deal, the Sharks received AHL forward Patrick Giles. For Sturm, the Sharks got back a 2026 fourth-round pick while also sending a 2027 seventh-round selection to the Panthers.

Thursday night, the Sharks traded defenseman Jake Walman to the Edmonton Oilers for a conditional 2026 first-round draft pick and minor league forward Carl Berglund.

Before the Zetterlund trade, the Sharks sent forward Luke Kunin to the Columbus Blue Jackets for a 2025 fourth-round pick that initially belonged to the St. Louis Blues.