It would be for the remainder of the war. Or until you are killed. Those are the only two ways out of the contract.