Accidently pressed G
In your viewport you can click on the dropdown and find Game view mode and check or uncheck it. You will see it has the keyboard shortcut "G" labeled next to it.
answered Jan 06 '19 at 08:08 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here