That's true, I remembered that after I posted, but at the same time, I suspect that a lot of this round will be more permanent. At least in the former case, the US did not exit the institution (1 year notice required). In this case, there will be more than 1 year between presidential administrations. If Trump doesn't pay up our outstanding fees, it is possible a Democratic administration will use that to say we never really exited, but if it is formally done, I feel rather skeptical they will rejoin.
There is strong continuity on foreign policy between administrations.
You have to put this in context that Trump is also creating what appears to be an alternative venue to the UN with the "Board of Peace" which was originally a colonial authority to impose our will on Gaza, but its charter doesn't mention Gaza at all and talks about international conflict in general.