Unfortunately, it is not possible to switch contracts because mining machines have already been associated to it and the mining has started.