During thunderstorms, there's a risk of power surges and lightning strikes that can cause damage to your electronic devices. So, it's a good idea to unplug them as a precautionary measure, especially for sensitive equipment like computers, televisions, and audio systems.
If unplugging all electronics is inconvenient, consider using surge protectors to provide extra protection against power surges.