Shortfall risk is the probability that a random variable falls below some specified threshold level.
Probability of ruin is a special case of shortfall risk in which the threshold level is the point at which capital is exhausted.