Sec. 5. And be it further enacted, That every officer, non-commissioned officer or private of the militia, who shall fail to obey the orders of the President of the United States in any of the cases before recited, shall forfeit a sum not exceeding one year's pay, and not less than one month's pay, to be determined and adjudged by a court martial; and such officers shall, moreover, be liable to be cashiered by sentence of a court martial: and such non-commissioned officers and privates shall be liable to be imprisoned by the like sentence, or failure of payment of the fines adjudged against them, for the space of one calendar month for every five dollars of such fine.