Hello there! I am Charity, I'm an Independent Advisor. I'm glad to help you today!
I'm really sorry this happened to you. If your controller was previously paired with your Switch, it may still be trying to connect wirelessly to the console. You can go into the Switch settings and disconnect the controller.
Then, Press and hold the sync button (located near the charging port) while plugging the controller into the PC.
I would also suggest trying a different USB port.
Please let me know if this works for you. I'll do my best to respond as soon as possible.
Kind Regards,
Charity
Please note that things might need more than one reply to completely resolve your issue, as it will completely depend on the complexity of the question and the amount of detail that you have provided me.