Programmed the 16u2 but the computer does not recognized the com port

I programmed the m16u2 with the following command (which I have used in the past), I the output seems fine to me.
L:>avrdude -p m16u2 -c avrisp -v -P COM5 -b 19200 -U flash:w:Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
avrdude: verifying ...
avrdude: 4034 bytes of flash verified

avrdude: safemode: lfuse reads as EF
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as F4
avrdude: safemode: Fuses OK (E:F4, H:D9, L:EF)

but then when I connect the arduino to the computer; the computer does not recognized the port at all.
I confirmed that the cable and USB port are good.
So... the chip seems to be alive because I can program it using the avrdude command.... but why then the computer cannot find it when I connect it via the USB cable? Not even as a libusb-win32 device.

Is the ATmega16U2 on a standard Arduino board or a custom board you made?

Running a Loop-back test might give you something to trouble shoot.

Thanks for the suggestions. Pert, this is a custom board that I made.
After rebooting the computer for an unrelated reason, I found that the computer started to recognize the recently programmed 16u2. The same port was working fine for a different Mega (the one I was using as a programmer) so I don't see what was the problem.

I don't know why a reboot would have fixed the problem, but I'm very glad to hear it's working now.