What is this mode and how do i get out of it?
I assume you're talking about Rendered View. Just click the button I marked in the screenshot.
Here is some more information on what these four buttons do.

I hope this helps.