If you made too many changes, or loose track of what you have evaluated, it may be useful to restart your interpreter:
- The Kernel → Restart menu allows you to do this, a bit like IDLE which starts from a blank interpreter when you use the F5 function.
- The Kernel → Restart and Clear Output menu restarts the kernel and clears all the outputs.
- The Kernel → Interrupt menu can be used if your fragment takes too long to run (e.g. you have written a loop whose logic is broken and does not finish).
- The Kernel → shutdown menu can be used to close a running notebook if you need to free memory for example.