Well, having a shutdown is just... inane. Should the government ever get wedged into a spot where there's no budget and no Parliament, the Crown has a duty to enact the most conservative (i.e. identical to the previous) budget as feasible and hold an election ASAP. The issue has never actually arisen in those terms here in Canada, but it's generally understood that is the constitutional procedure. If the government is not functional, then prevent society from collapsing in the meantime, and get a new government elected ASAP. Really, that's the essence of the reserve powers of the Crown.