Arduino Mega Sketch

Hello everybody!

I download the sketch to the arduino (the sketch works perfect), via Usb , I disconnect the Usb cable and once I re-connect the cable, the sketch does not run.

The arduino does not save the sketch once the power is off? what should I do ?.

Thanks!!

Federico

Solved.

For the same of helping others, what did you do?