You are free to leave EU just like any other agreement.