Arduino uno - standalone

When you uploaded the blink sketch from the IDE it burned the program into the arduino in it's flash memory. It doesn't lose the program because it's unpowered. You simply are not providing power properly somehow using your external power source. Fix your power problem and led-13 will blink once again if it's the last program you uploaded.