What is the fate of the outer layers of a star similar to the Sun after core helium fusion ceases?

Answer

They drift away gently, forming a planetary nebula

For lower-mass stars, after helium fusion ends, the outer layers drift away gently, forming an expanding shell of glowing gas called a planetary nebula, leaving behind a White Dwarf core.

What is the fate of the outer layers of a star similar to the Sun after core helium fusion ceases?
evolutionstarmassstage