Can you die from exhaustion while in wild shape?

So in wild shape, it says that while you’re transformed if you die you just revert back to your normal form, does that mean if you die from exhaustion while in wild shape, you just revert back or would that mean you die out right?