Save current program, then terminate: press the 'S' key. Termination without saving: 'End'. Abort: 'Esc'.