I dumbly connected a 9v battery to the ground and 5v pins instead of ground and Vin, while my computer's USB was also plugged in. This turned off my Macbook Air. Now, the port to the Arduino UNO is not showing up in the Arduino app in OS X. However, the last program I loaded on the Arduino Uno still works (pressing a button to light up the onboard LED).
I've tried rebooting my Macbook and pressing the reset button on the Uno, testing/changing USB ports on my macbook.
Did I somehow damage the USB connection on the Uno?