SUNRISE, Fla.  — Troy Terry and Mason McTavish scored in a shootout, and the Anaheim Ducks beat the Florida Panthers 3-2 on Tuesday night.

Leo Carlsson had a goal and an assist, and Cutter Gauthier also scored to help the Ducks end a five-game trip with a victory in coach Joel Quenneville’s first game against his former team.

Quenneville, who coached the Panthers from 2019-21, returned to Sunrise for the first time since resigning as Florida’s coach after details of a sexual-assault scandal involving his 2010 Stanley Cup-winning Chicago Blackhawks squad were revealed in October 2021.

“I’m appreciative,” Quenneville said. “My time here was great. It was short, but I’ve been watching their success over the last three and four years.”

Quenneville and Blackhawks executives Stan Bowman and Al MacIsaac were banned from the league for nearly three years after an independent investigation concluded that the team mishandled allegations raised by former player Kyle Beach against video coach Brad Aldrich during the team’s Stanley Cup run in 2010.

The trio was reinstated last July. Bowman became the Edmonton Oilers’ general manager three weeks later, and Quenneville — the second-winningest coach in NHL history — was hired by Anaheim in May.

Quenneville has spoken of his growth since that incident, noting after his hiring that he has worked to educate himself on abuse.

“I own my mistakes,” Quenneville said in May. “While I believed wholeheartedly the issue was handled by management, I take full responsibility for not following up and asking more questions. That’s entirely on me. Over nearly four years, I’ve taken time to reflect, to listen to experts and advocates, and educate myself on the realities of abuse, trauma and how to be a better leader. I hope others can learn from my inaction.”

Carlsson buried a short-handed goal midway through the second period to extend his point streak to four games. He assisted on Gauthier’s power-play goal a couple of minutes later to give Carlsson a team-leading 11 points this season.

Lukas Dostal stopped 31 shots for the Ducks.

Anton Lundell and Sam Reinhart scored for the Panthers. Reinhart had the tying goal — his fifth of the season — with three about minutes left in regulation after the Panthers had trailed 2-0 midway through the third.

Daniil Tarasov made 15 saves.

The Panthers, whose depth has already been tested this season because of a rash of injuries, were without forwards Jonah Gadjovich (upper body) and Brad Marchand (personal reasons).

Ducks: Host the Detroit Red Wings on Friday.

Panthers: Host the Dallas Stars on Saturday.