Wouldn’t you see the effect on the moon?
There’s a pretty cool short story where a guy is looking at the full moon and he realizes that it’s gotten way too bright, and that could only happen because the sun has just spontaneously exploded, and he basically just makes peace with the fact that the world is going to be destroyed very shortly.
That would be a beautiful, terrifying sight. You could gaze up at the most amazing view of the stars as the whole world froze to death.
I wonder if you had the opportunity to do so leisurely.
A suddenly vanishing sun would also mean a spectularly high energy gravity wave hitting the earth. You might be dead before even realizing that anything is off…
There is a really great short story by Larry Niven based on a similar premise:
“Inconstant Moon”
There is also an “Outer Limits” episode based on this. I watched that before knowing the short story and it is one of only 2 or three OL episodes that I still have an active memory of…