A shutdown happens when the U.S. Congress fails to pass some type of funding legislation that is signed into law by the president.