After entering set -e in an interactive bash shell, bash will exit immediately if any command exits with non-zero. How can I undo this effect?
set -e
With set +e. Yeah, it's backward that you enable shell options with set - and disable them with set +. Historical raisins, donchanow.
set +e
set -
set +