No, it is not safe to stay in a tent during a thunderstorm because the tent does not protect you from lightning, and if you are in the mountains, you must take shelter in a solid building where you can feel safe.