pull down to refresh

Can someone ELI5 about lightning please: Say I have a blue wallet etc Lightning balance, and something happens to the channel or it goes offline, will that balance be refunded to my main chain wallet address I originally funded the lightning wallet with? Or does something else happen?