Indeed, when the economy comes to a near standstill, the velocity of money decreases and this can be compensated by increasing government spending. If it is done correctly it won't lead to inflation. if necessary, the additional money can be removed from the private sector later, as needed, to control inflation.