Revert "do not exit the editor"

This reverts commit e9bb7dbd8a542543db78495af514073ba7282ebe.