In this case, it is different, because Trump cares more about his "win" in this issue than about the country. Or even about winning reelection, because everything is pointing to public opinion being strongly against what he is doing right now.
However, the nation is hurting badly under the shutdown, and it is going to get worse. Even so Trump is blamed by a majority, and thus "politically" losing more, at some point the democrats will have to concede that the only way to stop the damage is to give in.
But by then, there will be no doubt in most voters' minds that Trump fundamentally doesn't care. And this makes him unelectable for a larger majority and may even pierce his senate-armor against impeachment.