Arrow keys + Page up/down not working in Firefox

So, my cat figured out it was time to sleep on my laptop, he also managed to put Firefix into Caret browsing mode.

If you want to get out of it again (and then get page up/down + arrow keys working again), simply press F7