The earth will lose its moon. About 500 seconds after the sun disappeared, the 🌍 will fly off at 18 miles per second on the trajectory it was travelling at that time
The gravity of the sun kept the earth in orbit. When the sun disappeared the earth 🌍 flew off at a tangent to its orbit. (The effect of gravity of other planets on the earth is negligible compared to the gravity of the sun and so has been ignored)
During the 10 seconds the sun disappeared the 🌍 travelled 180 miles only. According to the law of inertia, the earth will continue travelling in a straight line (ignoring the gravity of the other planets)
About 500 seconds after the sun reappeared, its gravity will cause the direction of the earth to keep bending. There will be slow changes in the direction of the 🌍's travel. Eventually it will settle into a new orbit.
The earth's moon will also fly off in the direction it was travelling when the sun disappeared. This direction will be different from that of the earth so the 🌍 and its moon will fly apart.
The moon will also find a new orbit eventually.
Both the orbit of the 🌍 and the moon will be very different from their original orbits.
The other planets and their moons all suffer similar fates. The time the different planets start flying off at a tangent will be different. Some will start flying earlier and some later
By the time the planets and their moons settle into new orbits, the solar system that we knew no longer exists.
The new solar system will be bigger and every planet have new orbits. Some of the moons may be permanently lost. Perhaps some may become asteroids if their original planet is unable to get them to orbit itself.
The above is based on my inquisitive mind and logic.
Why do you think the planets start flying off at different times?
Please correct me if I am wrong.

