Cant Enter Setting Or Exit Kodi 17

Hi

I have just downloaded Kodi v17.3 with Krypton theme.

I have by mistake disabled the mouse function in the settings. And now I cant enter settings (change it back) or exit Kodi. I can only navigate in the main menu > Movies, Tv Shows etc.
My remote and keybord cant go up to settings/power off button.

How can I change this back?

Thank you!