There were hours of behind-the-scenes talks over the weekend between the leaders and rank-and-file lawmakers over how to end the display of legislative dysfunction, which began at midnight Friday after Democrats blocked a temporary spending measure.
Most legislation in the Senate requires 60 votes to pass, and Republicans have a narrow 51-49 majority.
The Senate vote came as most government offices cut back drastically or even closed Monday, as the major effects of the shutdown were first being felt with the beginning of the workweek.
Republicans have appeared increasingly confident that Democrats would bear the brunt of criticism for the shutdown.
It's been nearly two weeks since word leaked of President's Donald Trump's "s--hole countries" comment, but instead of moving past it and returning to the negotiating table, Democrats continue to milk Trump's comments - posturing for the cameras to condemn his "ignorance and bigotry", while threatening to shut down the government if Trump did not immediately codify Deferred Action for Childhood Arrivals as part of the short-term government funding bill. There is no guarantee that the legislation will earn the 60 votes it will need to overcome a filibuster, however. The New York Democrat said on the Senate floor Sunday that he proposed authorizing funding for President Trump's wall along the border with Mexico, in exchange for protections for DREAMers, but the offer was rejected.
Lawmakers are at odds over a range of defense spending and immigration issues, including a legislative fix for almost 800,000 undocumented young people brought to the U.S.as children.
But there was more than enough to generate stories of the party in its usual state of disarray.
But it left out any action on the Deferred Action on Childhood Arrivals program, known as DACA, that affects Dreamers.
Democrats, as a condition of supporting a new spending stopgap, demanded a resolution of the uncertain future Trump created for the Dreamers with his DACA order previous year. Instead of battling an uncertain messaging war with Republicans, who initially clobbered Democrats for not accepting CHIP as the cost of doing business, Schumer and House Minority Leader Nancy Pelosi will have the upper hand: McConnell promised them a vote on DACA.
Senate Majority Leader Mitch McConnell warned that the shutdown would "get a lot worse" if federal workers have to stay home without pay.
On Saturday evening, Eric Trump spoke to Fox News' Jeanine Pirro about the shutdown, saying, "Honestly, I think it's a good thing for us, because people see through it".
It forced Trump to cancel a weekend trip to his Mar-a-Lago estate in Florida and created uncertainty around his scheduled trip this week to the World Economic Forum in Davos, Switzerland.
"Democrats are already struggling how to spin this development, especially when, just three days ago, they held a hard line against funding the government, energizing their base with the promise to protect DACA recipients".
At the heart of the dispute is the thorny issue of undocumented immigration. In the last one, in 2013, more than 800,000 government workers were put on temporary leave.
Both sides in Washington had tried to blame each other for the shutdown.
Lawmakers on Capitol Hill said they were pursuing a deal to reopen the government before the start of the workweek Monday.
"We have an agreement that the Majority Leader just announced that if an agreement on immigration has not been reached at that time, that the Majority Leader using his discretion and his authority as Majority Leader we will move to immigration and at that time we can deal with the DACA issue and the broader immigration issues generally", said. Sen.
Despite that statement, it was clear that senators were seeking paths both to reopen the government and address border security and the Dreamers.
That threat prompted moderates to huddle for a second day Sunday in hopes of crafting a plan to reopen the government.
Donnelly, referring to what is widely considered a horribly fractured Congress, said: "There's such trust among the members here, that we have each other's backs, that we don't worry about Republican or Democrat".
Markets have absorbed the shutdown drama over the past week. She added that senators who voted Monday in favor of the deal "are not resisting Trump, they are enablers".
"Now is the time to get involved", said Indivisible's Levin in a Facebook Live event on Monday afternoon, hours after he had condemned the deal. And they have been for months.
He continued, "It is also my intention to take up legislation regarding increased defense funding, disaster relief, and other important matters".