Run for mayor (or local equivalent), win, and then push for/implement a bunch of rules that make the town inhospitable to tourists.
I assume the tourism brings in money to the local community, yeah? Cutting off that income will probably mean you won't be able to win the next subsequent election, so act fast.
What's wrong with writing poetry on an aircraft carrier? I can't speak to being on an aircraft carrier, but on a submarine you are not in war mode 24/7; there's time to do ordinary things. (usually).
Let me guess: Tommy here hasn't ever served in the military, right? All he knows about it is from movies?