(this is a purely hypothetical situation, for literary research)
I've filed a patent on a certain technology for facial recognition/analysis, and as the patent holder I want to use my exclusivity to ensure it's not used to harm anyone. Unfortunately, the nature of the invented technique can be easily misused for what I believe are evil purposes. Military, then law enforcement agencies, have begun connecting me with manufacturers who want to incorporate my technique into their software suites, to which I am firmly opposed. Mind, the patent is still in review, so getting inquiries this soon strikes me as odd.
My question is, can I deny the military use of my invention should the patent be approved, and if not, are there any ways in which I can sabotage or otherwise render it difficult for them? Perhaps by requesting an impractically large royalty or purposely presenting a subtly faulty implementation to their manufacturing firm?