Being in uniform is one thing, being in civvies is another. While in uniform, conduct yourself according to the UCMJ.

Pretty simple IMHO.