I'm very certain I wouldn't just roll over and shoot myself in the head like coward.
Nothing cowardly about it. Any AI could render any possible Nuke attack useless. They could do so much shit. Of course I'd fight them, but if I was caught or something, I'd take myself out before they could do anything.