The shutdown lasted less than 72 hours and ended with the Democrats failing to get anything new (they already had a vague promise for a future vote on a DACA bill before the shutdown. What happened?
Democratic messaging was, at best, confused. They tried to blame President Trump and the Republicans for the shutdown but at the same time they made it clear that it was all about DACA. They must have been counting on a sympathetic press to give them cover but between social media and their own mixed messages, that wasn't possible.The Democrats looked at the wrong poll numbers. While a majority of the country favors helping DACA recipients (I think it's around 80%), it is pretty low on their priorities (One poll put it at number 16). The shutdown meant that things that had a higher priority were stopped in favor of a lower-priority issue. This hurt the Democrats. Also, the issue was hurting them in red states that they need to win to take the Senate. The Democrats made the same mistake about the shut-down that they made in 2016 about the election: they spent too much time looking at national averages and not enough time looking at state-by-state breakdowns. California, all by itself, is big enough to shift the national polls but elections are held on a state-by-state basis.
Pundits who claim that the Democrats ended the shutdown because they still believe in civility are fooling themselves. The left lost interest in civility a decade or more ago. The shutdown was all about playing to the base and aking a show of standing up to Trump.
While the Republicans have agreed on some sort of replacement for DACA, there are major differences to be settled. The biggest one is who will be covered? Will it be the 800,000 or so enrolled in DACA, the 3,000,000+ who came here at a young age (often alone as a teenage), or will it be limited to the original "Dreamers" who have gone to college or been in the military? Working these out under the artificial urgency of a shutdown is a poor way to run the government.