By typing exit in the Linux terminal, the user switch and the current root session will be closed and you will return to your main user account.