You stop editing a cell value when you press (Enter).
The action is found in the menu Document > Grid Edit > End Editing .
To cancel the editing without saving in the document the current changes, you have to press the (Esc) key.