Firms face uncertain financing conditions and are exposed to the risk of a sudden rise in financing costs during financial crises. We develop a tractable model of dynamic corporate financial management (cash accumulation, investment, equity issuance, risk management, and payout policies) for a financially