The logical fallacy of appeal to desperation occurs when a person uses the fact, or supposed fact, that something must be done as a premise, and the proposed conclusion/solution is the something that must be done.
“Look, the company is going out of business. We need to go to Las Vegas with what little cash we still have and win big. If we win, we can save the company and pay the workers.”