Yes. Double check power options .You want the computer running at full capacity,
but CloseLid=sleep mode usually works ok for me. Opencpn generally gets the gps fired back up pretty quick...
goto ControlPanel->System->Device Manager
and then near the bottom, ->UsbRoothub
. Double click, then PowerManagement. UNCHECK "allow ...turn off this device..."
And while you're in there, might as well goto Host Controllers->Advanced and stop some annoying messages
However, also remember OpenCPN wants to own the gps. Make sure no other app is accessing it at the same time.