Pop-ups are not as safe as permanent structures during a thunderstorm. However, there are some things you can do to make them safer.
You should avoid using metal objects in your pop-up camper during a thunderstorm.
If possible, you should disconnect all electrical appliances from the outside of your pop-up camper.