Unfortunately, yes. The status of a U.S. military vessel—regardless of whether it is at sea, at anchor, or in port—is unimportant. You could still be charged and convicted under Article 87b.