How to exit the formula editor with keyboard?

Is there any keyboard shortcut to exit the formula editor in LibreOffice Writer?

Hallo

the underscored O on Ok-button indicate the shortcut Alt+O

There’s no ok button in the formula editor in Writer and the shortcut doesn’t work.

Sorry I has’nt realized that your’e referring to writer instead of Calc

Use two times Escape-key. The first pressing leaves the formula editor and the second one unselects the formula.