And "everything possible" would include tools, electronic or software, and software codes - and yes, possibly engineers who created them on the line, something like what was done when Apollo project had landings on the Moon. Only in this case I'd assume different kind of responsibility than just contractual.
I don't fall in the military hierarchy at the moment, but that doesn't mean I can give aid and comfort to enemy. Again, I'm not a lawyer - that's why it's a tribunal - but for a court to give go-ahead to this (absent more prompt collaboration beforehand) would be something to expect. What would you expect if you'd be in the field in this case?
By contrast, a soldier in the chain of command can be punished administratively, and disobeying orders is a crime that in most militaries is only excusable if the order is criminal, not if it's stupid. Rarely brought, but the spectre of it is there
I have seen it work with one pissed off LCpl. The officer decided to back off.
There is no way you could do your job badly enough for it to be treason nor as far as I know subject one to a military tribunal.
Basically, a Capt can say what ever they like but if it's just not possible to be fixed in the field then it's not going to happen.
Also, you don't get thrown into jail everytime you disobey an order. Especially when it comes to technical equipment.