Big difference between yeast dying and yeast "sleeping". Yeast may "sleep" if the temperature gets too low, alcohol concentration gets too high for the yeast to handle, or if fermentation is finished. You can "wake it up again" by giving the fermenter a gentle swirl (as opposed to a shake!) and raising the temperature if fermentation is dropped too cold (<16C for a standard yeast).