Personally, I think he knew exactly what he was doing. His detractors are blissful in their ignorance and self-assuredness that he is "mentally unstable". But if you look closely at everything he's done so far, the guy is a freaking genius...
"Has President Trump suckered Democrats and the Deep State into a trap that will enable a radical downsizing of the federal bureaucracy? In only five more days of the already "
longest government shutdown in history" (25 days and counting, as of today), a heretofore obscure threshold will be reached, enabling permanent layoffs of bureaucrats furloughed 30 days or more.
Don't believe me that federal bureaucrats can be laid off? Well, in bureaucratese, a layoff is called a RIF – a Reduction in Force – and of course, it comes with a slew of civil service protections. But, if the guidelines are followed, bureaucrats can be laid off – as in no more job..."
https://www.americanthinker.com/blog/2019/01/trumps_shutdown_trap.html#ixzz5cihjhAVF