You can either press ENTER when already in cell editing.
To cancel the editing without saving in the document the current changes, you have to press the ESC key.