The possibility of withdrawal depends on the terms of the treaty and its travaux preparatoire.
What two factors determine whether it is possible to withdraw from a treaty?
the terms of the treaty and its travaux preparatoire