Does this happen on all the USB ports in the PC?
Have you proved that there is power on the USB port by plugging in a USB mouse or a phone and check if the mouse's laser light turns on or if the phone indicates that it is charging?
If there is no power on the USB ports the pendrive won't work.
Go to Device Manager - Universal serial bus controllers - click on > to expand the list - right click on USB Root Hub - Properties - Power Management and uncheck "Allow the computer to turn off this device to save power" - OK.
Do this for all the Root Hub entries shown.
Then restart the laptop in the normal manner and check if the pendrive is now detected.
To get to Device Manager in Win10, press the Win key and the x key (both together) and click on the Device Manager link that shows in the options menu.
Here's an image that shows what it looks like. It is from my desktop PC but the USB Root Hub Power Management settings are the same for Windows OS.
(click on image)