President Trump on Friday canceled his planned weekend trip to Mar-a-Lago as Congress scrambled to avert a government shutdown.

Trump was scheduled to leave Friday afternoon for the Palm Beach, Fla., estate where he spends many weekends.

The president first pushed back his departure time as lawmakers looked increasingly unlikely to reach a deal that will keep the government open past midnight, when government funding runs dry. The White House announced in the afternoon that the trip had been scrapped altogether.

Trump was meeting with Senate Minority Leader Chuck Schumer, D-N.Y., in the afternoon on how to avoid the shutdown.

Although the House passed a bill Thursday evening that would fund the government through Feb. 16, Senate Democrats have threatened to withhold their votes from the short-term measure unless it includes protections for younger immigrants brought to the U.S. illegally as children.