The political dynamics of a shutdown