Travel insurance can reimburse you if your trip is cancelled due to Covered Reasons, like severe weather events, accidents, illnesses, or the death of a family member, etc.
Covered Reasons, and other important details about the policy, are all described in a document called the Description of Coverage (DOC). It’s a good idea to read the DOC before you buy your insurance plan.