Leave UN voluntarily, it would serve the UN and those working against it from inside.
The occupied territories of Palestine is of territories where “Rome Statute” applies. So it would be entirely different if the IDF and the Israeli Government had choosed to fight in Tel Aviv, West Jerusalem, Ashkelon etc. but these are also the safe havens for Netanyahu and Gallant, where they did not have to fear a potential arrest. They just need to accept that these free space is not expandable and could live happy inside Israel living side by side with the State of Palestine in Peace… Some travel restrictions would exist, but this is simple a matter of fact, it was enough of warning of potential consequences over a timespan to think about it, or change for the better to avoid the potential of consequences… They dismissed it and stayed in their state of denial.
Till it happened…