problem connecting to my computer

during a program my pc stopped, so I had to restart it but since then I can’t connect the Ardino anymore.
When I connect it to my computer it is recognized as an invalid USB port (I have the same problem if I connect it to another computer).
how to fix this error
Thank you in advance

I would try unplugging everything from the arduino and letting it sit for a few minutes. Maybe it’s in a weird state?