The clock ticked toward midnight on Friday. New U.S. tariffs on Canada were about to come into effect and negotiators cooped up across the street from the White House were still plodding through the differences on each side. Aides shuffled in and out with new drafts, adjusting and readjusting.

U.S. officials said they had offered Canada the best trade deal of any nation. Canadians believed it was a bad one. In the waning hours, both sides dug in even more.

One Canadian negotiator said it was as if “shadow figures were suddenly in the room,” raising topics that had supposedly been settled in previous days.

Back in Ottawa, Prime Minister Mark Carney got off the phone with Doug Ford, the premier of Ontario. Mr. Ford had told him plainly: Don’t take the deal.

Mr. Ford told Mr. Carney he would not comply with a key U.S. demand: restoring the sale of U.S. alcohol that he, alongside most other provincial leaders, had banned. American tariffs on Canadian steel and automobiles were still too high to enable their long-term survival, Mr. Ford had decided.

Thank you for your patience while we verify access. If you are in Reader mode please exit and log into your Times account, or subscribe for all of The Times.

Thank you for your patience while we verify access.

Already a subscriber? Log in.

Want all of The Times? Subscribe.