Fading LED that goes through a few cycles, and stops

cycle through the fade sequence, perhaps a dozen times

You could make a loop in the setup() runing a dozen time, and nothing in the loop()

Next step could be putting the chip to save current by sleeping