The UK will ask the EU for a long extension, e.g. two years, and start renegotiating with the EU.
The EU has always said that if there is a drastic change of circumstances (e.g. a new government in the UK) they are prepared to reopen the Withdrawal Agreement and/or the Political Declaration.