<p>What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys says <kbd>Ctrl</kbd> + <kbd>F2</kbd> but it doesn't work.</p>

As said
here
, you can add/enable the Debug command group to any perspective using
```
Window / Customize Perspective > Commands
```
.
(Select the 'Debug' group)
Then open the Debug view in the Java perspective (as a Fast view perhaps)  and you should get your Terminate keybinding.
I suppose it was not working because you tried it in a non-debug session.