One of the common problems whit this issue is in the drivers setting of the USB driver. Now this issue can from time to time occur when programming with Arduino boards and sometimes the same driver becomes outdated or corrupted.

But don't worry, it's easy to fix and its troubleshooting steps you can find in the link bellow:

https://www.youtube.com/watch?v=zeylYNnhuMg&t=3s

If that doesn't happen try updated all of the USB drivers, as well as drivers from other devices. Also you can google out COM3 or COM5 issues on Arduino forum, which are regularly searched and solved topics.