Is it possible to retrieve code from the Arduino into the IDE

My computer rebooted and the last copy of the sketch I was working on is lost but it is still on the Arduino. Is there some way to upload the code from the Arduino into the IDE ?

No.

MetalMaster: My computer rebooted and the last copy of the sketch I was working on is lost but it is still on the Arduino. Is there some way to upload the code from the Arduino into the IDE ?

Your code is like flour, eggs, milk, salt, and pepper. The compiler is a blender, and made a souffle batter. The linker is like an oven, and baked the souffle. Now, you want to get the eggs, milk, flour, salt, and pepper back. Not going to happen.

You can probably do a better job the second time anyway…

Answer here maybe;

Is it possible to retrieve code from the Arduino into the IDE