Quinn pushed it to 3-1 on a 2-on-1 at 16:11. McLeod faked out Flyers defenseman Egor Zamula with a shoulder drop and sent a backhand pass across the crease to Quinn, who quickly buried it inside the left post.
Peterka made it 4-1 at 1:24 of the second period with a wrist shot short side from the left circle after receiving a pass from McLeod a 2-on-1.
Michkov cut it to 4-2 at 7:11 when Sean Couturier’s backdoor pass deflected into the net off his skate at the right post.
It was Michkov's 26th goal of the season, moving him past Macklin Celebrini of the San Jose Sharks for the lead among NHL rookies.
“We’ve got some really good young pieces that are going to be a part of the organization for a long time coming,” Shaw said. “It’s exciting. ... [The young players] have taken a huge step this year and really raised the ceiling of where they can get to when their game finally peaks.”
Foerster got the Flyers to within 4-3 just 15 seconds into the third period, tapping in a feed from Noah Cates at the edge of the crease.
McLeod scored an empty-net goal at 19:12 to make it 5-3.
Bobby Brink beat a screened Reimer with a point shot at 19:41 for the 5-4 final.
“I think we stuck together as a group, tried to play the right way and finish strong,” Couturier said. “It’s unfortunate these last two losses, but overall I think we were making more plays. We seemed to have a little more confidence in our game (under Shaw). Now we’ve got a big summer here and bring that into next year.”
NOTES: Michkov was also tied for second among rookies with 63 points and tied for first in power-play goals with eight. ... Foerster scored 25 goals this season, with nine coming in his final nine games. ... Of Ruff’s 900 wins, 607 have come as Sabres coach. ... Tuch finished this season with 113 blocked shots, the most by a forward in NHL history. He also scored 36 goals, tying his career high set in 2022-23.