Arduino Uno R3 stuck in DFU mode/Port not recognized
It sounds like your ATMega16U2 has lost its CDC/ACM firmware and is entering DFU mode by default to allow you to install firmware.

Installing the CDC/ACM firmware using dfu-programmer would get it working again.