how to open user interface

I accidentally closed the nano graphical user interface, I didn’t also the way a remote connection, could you tell me how to do?

hello 895684817,

did you means you would like to exit console mode? you may enter the commands to enable x-server.

$ startx

Or,
you should have function key combination to get back to your graphical desktop. by Ctrl^Alt^F2.

please also check https://www.lifewire.com/ways-to-open-a-terminal-console-window-using-ubuntu-4075024 for reference.
thanks