Is the mouse still working? Did you already try to close the session and start it again? Normally, the keyboard control should be regained after this and that would be the easiest way to fix that. In your case, do you have the "Full Control" access level for incoming connection on a Presenter side set by default?
The thing is that there's no button/option allowing to regain the keyboard control and the Full remote control (mouse+keyboard) can be provided in 2 ways:
1. It is set up by default for incoming connection on a Presenter side and you just have it when you connect
2. It is being requested in the beginning of the remote session and it has to be approved by the Presenter.
The mouse has been working fine. I tried restarting the session. Yes I am using 'full control' access.
I have it set so I have full control as soon as I connect.
I uninstalled and then reinstalled the program.
This fixed it and I was able to control the remote keyboard again.
However after a few hours it has gone again.