Does the Teensy continue with working if provided with electricity again?

When using an Arduino, after uploading the code and running it. If I were to disconnect the Arduino from power/battery and reconnect it, it will continue running the program. I'm wondering if it's the same case with a Teensy LC (before buying one), because I couldn't find an answer to this question online.

It will run the program from the start every time it's powered up.