when does a star leave the main sequence
Main sequence In general, the more massive a star is, the shorter its lifespan on the main sequence. After the hydrogen fuel at the core has been consumed, the star evolves away from the main sequence on the HR diagram. The behavior of a star now depends on its mass, with stars below 0.23 M☉ becoming white dwarfs directly, whereas stars with up to ten solar masses pass through a red giant stage.[3] More massive stars can explode as a supernova,[4] or collapse directly into a black hole.
Nova Classical nova eruptions are the most common type of nova. They are likely created in a close binary star system consisting of a white dwarf and either a main sequence, sub-giant, or red giant star. When the orbital period falls in the range of several days to one day, the white dwarf is close enough to its companion star to start drawing accreted matter onto the surface of the white dwarf, which creates a dense but shallow atmosphere. This atmosphere is mostly hydrogen and is thermally heated by the hot white dwarf, which eventually reaches a critical temperature causing rapid runaway ignition by fusion.