Maybe. Countries can leave the treaty. Congress and the Senate are trying to make it impossible for the president to unilaterally do this, but I don't know if that bill has passed yet. It's a bipartisan effort believe it or not, because even the most politic Republicans are not stupid. I expect it should pass before January 2025.
But who knows, maybe he can sabotage the alliance in other ways, or find some other way out.
But who knows, maybe he can sabotage the alliance in other ways, or find some other way out.