I accidentally closed the window for the verfication code

Solution 1:

You should be able to log in on https://login.ubuntu.com/ using the username/password you used to create the account, and enter the verification code somewhere on that site.

If you are unable to do so, you should contact https://one.ubuntu.com/help/contact/ for support.