It is better (and more polite) if you start your own thread with your question. For context, you can reference other thread with links.
ak
Unless you use a non-volatile device such as a flash RAM chip, an electronic circuit cannot remember its last operating state when completely unpowered. To do that, as in this thread, the solution is a mechanical assembly that controls one or more switches. See post #11.what kind of a circuit will help in this?
ak