General Motors will close its production plant in Oshawa, Ont., along with four facilities in the U.S. as part of a global reorganization that will see the company focus on electric and autonomous vehicle programs.

Provincial and federal leaders alike conceded the futility Monday of trying to persuade General Motors to keep its Oshawa, Ont., automotive plant running beyond 2019, and instead focused on ways to ease the pain of more than 2,500 workers who stand to lose their jobs.

Ontario Premier Doug Ford insisted Monday there was nothing his government could do to talk GM into abandoning its plan to shutter the factory at the end of next year. Ford and lawmakers in Ottawa vowed to work together to help affected workers, their families and the city — which will lose its biggest employer.

“The first thing I said was, ‘What can we do?’,” Ford said Monday, recalling his phone call Sunday with the head of GM Canada. “He said, ‘The ship has already left the dock.’ “

Ford added: “To say we’re disappointed is an understatement.”

The closure of GM’s Oshawa operation, just east of Toronto, would deliver a major economic blow to the region and will be felt at the Ontario and national levels. In addition to the Oshawa plant, the automaker announced Monday it was planning to close four other plants in the United States and two overseas by the end of 2019 as part of a global restructuring that will see the company cut costs and focus more on autonomous and electric vehicles.

In a Twitter post Monday, Prime Minister Justin Trudeau said he told GM CEO Mary Barra that he was deeply disappointed about the closure and said his government would do everything possible to help affected auto workers and their families.

“Obviously, our hearts go out to the workers in the region affected,” Trudeau said during question period in the House of Commons, before arguing his government has invested more than $5.6 billion to support the auto industry.

GM workers have been part of the heart and soul of Oshawa for generations – and we’ll do everything we can to help the families affected by this news get back on their feet. Yesterday, I spoke with @GM’s Mary Barra to express my deep disappointment in the closure.

Federal Industry Minister Navdeep Bains and a cabinet colleague, Social Development Minister Jean-Yves Duclos, said Ottawa was looking at how to help workers affected by the closure. They declined to get into specifics — but insisted all options are under consideration.

“We’re very disappointed and very surprised by GM’s announcement that we learned about only yesterday,” Duclos told reporters Monday in French. “It’s an announcement that’s disappointing because, obviously, it touches, (it) affects thousands of families in a cruel manner.”

Ontario called on the federal government Monday to extend employment-insurance eligibility by five weeks to a maximum of 50 weeks for workers affected by the closing. Ford said the province will immediately bolster employment help and retraining measures.

“I support the people out there and we’re going to do everything we can to make sure they get back on their feet,” Ford said.

Politicians from both the federal and Ontario governments, who have frequently clashed in public, made efforts Monday to show that when it comes to the GM matter they have, so far, set aside their differences.

“This is not a political issue, this is not about pointing fingers,” Bains said. ”This is about standing up for the automotive sector, this is about standing up for the auto workers.”

Ford said he and his federal counterparts would work hand in hand.

But opposition politicians applied pressure on both governments.

At the federal level, Conservative Leader Andrew Scheer demanded Parliament hold an emergency debate on the matter Monday. Scheer said the governing Liberals must immediately explain how they will help workers and protect other manufacturing jobs in Ontario.

“What we’d like to know from this government is, what is on the table? What is possible?” Scheer said in Toronto.

“We do know that some of the reasons being cited, being talked about, are the rising costs of energy. We know that GM and other automakers are affected by the Liberal carbon tax, so before we even get to bailouts we could be looking at any number of other ideas.”

The Conservatives have launched regular attacks against the Trudeau government’s incoming carbon-tax plan. On Monday, Tory MP Pierre Poilievre urged the Liberals to put it on hold, following the GM announcement.

The federal NDP urged the Liberals to create a national auto strategy to ensure product lines and manufacturing processes meet the changing needs of the industry. The party also criticized the Trudeau government’s announcement last week that it plans to provide $14 billion worth of tax incentives for corporations over the next half-decade.

“We can’t afford billions in tax giveaways to these large companies when those same companies are pulling up stakes and leaving people out of work,” NDP MP Guy Caron said during question period.

At the provincial level, Ontario NDP Leader Andrea Horwath accused the Ford government of giving up on trying to keep the auto jobs from leaving Oshawa.

“In 14 years of being in this house I’ve never seen a government roll over so quickly and throw in the towel on good jobs in this province,” Horwath said.

Interim Liberal Leader John Fraser called the closure the “worst economic catastrophe” to hit the province since the recession of 2008.

The union representing the Oshawa auto workers says it will put up what it calls “the fight of our lives” to keep the plant open.

“They are not closing our damn plant without one hell of a fight,” Unifor national president Jerry Dias said Monday. “We are sick and tired of being pushed around. And we’re not going to be pushed around… we deserve respect.”