You may be eligible for a free change or refund with the airline, depending on their rules. However, travel insurance can cover you if you need to cancel your trip, including your flights, because of a family emergency such as the unexpected death of a relative.