Leclerc, who had scored his sixth pole position of the season, dashed for a pitstop under a virtual safety car - induced by his teammate Carlos Sainz retiring with a hydraulics issue - to carry a 13-second lead.
But his chances of victory when up in smoke when his engine blew to hand the win to defending champion Max Verstappen, as Ferrari lost a potential win for the third race in a row.
The power unit used in Baku comprised a refurbished internal combustion engine, which was passed fit for use despite having been part of the configuration that failed while Leclerc led in Spain.
That retirement, which wiped out the turbo and MGU-H, left Leclerc to run in Azerbaijan with a blend of old and new components at a track with the greatest throttle demands on the calendar.
Ferrari has intimated that these carried-over parts could have caused the failure in Baku.
The Monegasque, who has not won since Australia, will now run a fully new powertrain set-up for this weekend’s Canadian Grand Prix after the Baku system was found to be “beyond repair”.
A Ferrari statement read: “[An] investigation confirmed Charles' Baku PU is beyond repair.
“One possible cause of the failure is that it occurred as a consequence of the PU problem in Spain.
“We are now working on countermeasures to strengthen the package and the situation is under control.”
The write-off of the Baku powertrain leaves Leclerc on the verge of at least a 10-place grid penalty as he bid to close a 34-point gap to championship leader Verstappen.
Ferrari, 80 points adrift of Red Bull, ushered in a revised powertrain specification for the Miami GP in a bid to improve reliability.
That second power unit, plus the new turbocharger for Baku, has put Leclerc up to the maximum-permitted three turbos for the season.
Charles Leclerc will soon be facing grid penalties after moving to his third power unit of 2022
Photo by: Mark Sutton / Motorsport Images
Speaking in Montreal, Leclerc said: “Obviously we are not in the best situation possible.”
Asked to confirm the situation regarding taking a grid-place hit for Canada, he continued: “Then for the power unit change, I think there are still ongoing discussions.
“For now, no decision is taken. But yes, it’s not the best position to be in.”
Despite the long back straight potentially favouring the top-speed credentials of Red Bull, courtesy of its strong rebadged Honda engine and low-drag set-up used in Baku, Leclerc reckoned Montreal could be a good venue to take the hit because of the passing opportunities.
He said: “It’s up to us to choose the best track where you want to get a penalty, if you get a penalty.
“This is one of the tracks where it is quite easy to overtake, but there are also tracks in the next three or four races where it’s quite easy to overtake too.
“So, we’ll discuss and try to take the best decision from there.”
Canadian GP: Verstappen holds off Leclerc in second practice
Leclerc hit with 10-place F1 grid penalty for Canadian GP
Does Max Verstappen have any weaknesses left?
10 things we learned from the 2022 F1 Canadian Grand Prix
Canadian GP: Verstappen fastest in first F1 free practice
Slow pitstop made Leclerc's "life much more difficult" in Canadian GP
Leclerc to start Canadian GP from back of the grid
Where a key Leclerc strength is obscuring the true nature of F1 2022
Ferrari: FIA did not follow right procedure with F1 technical directive
Sainz: ‘Sending it’ at final corner cost me P2 to Alonso in F1 qualifying
Would Leclerc have won in Baku had his Ferrari survived?
Mercedes: Zero complacency over F1 2022 100% finishing record
Liberty: Nice GP not designed to pressure Monaco F1 race
Aston Martin set for further F1 car upgrade at Silverstone
Szafnauer: Netflix cameras in meetings may boost F1
Connecting two of Ferrari's favourite F1 sons: Villeneuve and Leclerc
Gilles Villeneuve's exploits behind the wheel of a Ferrari made him a legend to the tifosi, even 40 years after his death. The team's current Formula 1 star Charles Leclerc enjoys a similar status, and recently got behind the wheel of a very special car from the French-Canadian’s career.
How a 30cm metal wire triggered open warfare in the F1 paddock
Porpoising has become the key talking point during the 2022 Formula 1 season, as teams battle to come to terms with it. An FIA technical directive ahead of the Canadian Grand Prix and a second stay appearing on the Mercedes cars only served to create a bigger debate and raise tensions further
Does Max Verstappen have any weaknesses left?
Having extended his Formula 1 points lead with victory in Canada, Max Verstappen has raised his game further following his 2021 title triumph. Even on the days where Red Bull appears to be second best to Ferrari, Verstappen is getting the most out of the car in each race. So, does he have any weaknesses that his title rivals can exploit?
How F1's future fuels can shape the automotive sector
In 2026, Formula 1 plans to make the switch to a fully sustainable fuel, as the greater automotive world considers its own alternative propulsion methods. Biogasoline and e-fuels both have merit as 'drop-in' fuels but, equally, both have their shortcomings...
The breakthrough behind Sainz's best weekend of F1 2022 so far
OPINION: Carlos Sainz came close to winning in Monaco but needed that race’s specific circumstances for his shot at a maiden Formula 1 victory to appear. Last weekend in Canada, he led the line for Ferrari in Charles Leclerc’s absence from the front. And there’s a key reason why Sainz has turned his 2022 form around
Why “faster” Ferrari couldn’t beat Red Bull in Canadian GP
On paper the Canadian Grand Prix will go down as Max Verstappen’s latest triumph, fending off late pressure from Carlos Sainz to extend his Formula 1 world championship lead. But as safety car periods, virtual and real, shook up the race Ferrari demonstrated it can take the fight to Red Bull after recent failures.
Canadian Grand Prix Driver Ratings 2022
Plenty of high scores but just a single perfect 10 from the first Montreal race in three years, as Max Verstappen fended off late pressure from Carlos Sainz. Here’s Autosport’s assessment on the Formula 1 drivers from the Canadian Grand Prix
The in-demand helmet designer creating works of art for F1's best
GP Racing’s OLEG KARPOV pays a visit to designer Jens Munser, to observe the production of Mick Schumacher’s special helmet for the Miami Grand Prix. What follows is some fascinating insight on the mindsets of Mick’s dad Michael, and family friend Sebastian Vettel