Midi Keyboard Connection Issues

Hi everyone
I’m having issues connecting my midi keyboard (usb) after Cubase has started. If I restart Cubase it will get detected, but sometimes my midi keyboard will disconnect in the middle of a project (it gets bumped etc) and it can be really annoying to restart it especially when I’m using VST’s that take a long time to load. I read in an old post that there’s no way to fix this, but I wanted to check with the community to see if there’s a solution that has been made since the old post was created.

Thanks