When deleting a try and you're in the same current working directory as that try, the app will error
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Graceful error handling will need to be required in the event the deleted try is the same as the current working directory and/or default cd .. or go back to the default try apex directory.