A shutdown happens when Congress fails to pass some type of funding legislation that is signed into law by the president. Lawmakers are supposed to pass 12 different spending bills to fund agencies across the government, but the process is time-consuming. They often resort to passing a temporary extension, called a continuing resolution, to allow the government to keep operating.