In my case I had already restarted and adb was not running.
Cold booting worked for me.
In the device manager tab click the 3 dots and then cold boot.