Using Sleep Mode PWR Down Example

I am trying to work with the sleep mode pwr down example that is listed at

http://playground.arduino.cc/Learning/ArduinoSleepCode?action=sourceblock&num=5

with an Arduino Pro Micro. 3.3V that is hooked up via a USB cable. I paln to switch to a battery when the code is finalized.. The sketch compiles up without any problems but the minute the sketch completes download, the Pro Micro turns into a usb device not recognized. At that point I have to monkey with it to get a simple sketch to download so that I can start using it again.

I have a ball switch hooked up to pin 2, as needed by the sketch

I am probably just missing something obvious but I can't seem to figure it out.

Appreciate any guidance