Shadow banks play an important role in the modern financial system and are arguably the source of key vulnerabilities that led to the 2007-2009 financial crisis. I develop a quantitative framework with uncertainty fluctuations and endogenous bank default to study the dynamics of shadow banking....