I have the machine plugged into a surge protector and always turn the surge protector off when I'm done sewing for the day. But do leave it plugged into the wall.
If I'm going to be on vacation I unplug everything in the house practically.
But after reading all these power events, I may start unplugging my machine also. Just have to get into the habit.