Exit superuser mode in terminal
I entered superuser mode in terminal using the command "sudo cd .." to add a new command to bash. When attempting to exit superuser mode, I tried typing "exit" and was given the following:
Name-MBP:/ User1$ exit
logout
Saving session...
...saving history...truncating history files...
...completed.
[Process completed]
There is a blinking cursor directly after the end bracket and I cannot use the terminal after doing this (Control + C does nothing, etc)
I have tried "q" and "quit" instead of "exit" to no avail.
I have tried quitting the terminal application but am still in superuser mode when I reopen terminal.
I have tried restarting the computer but am still in superuser mode when I reopen terminal.
I must be missing something obvious but cannot figure it out... any help is appreciated as I would like to logout for security reasons.
MacBook Pro 2019 (Intel core) running Ventura 13.4.1 if it helps
MacBook Pro 13″