diode in usb cable

it short circuited or something the moment it was plugged in, it was the first class in arduino

If Apple follows the usb standard, there must be a 500ma fuse in there that even if the arduino is shorted, it should not have burned the usb port; Even if the usb port is burned, the computer should still function.