I know exactly what you are talking about.
A very short time after I quit drinking, I went to a college reunion. I went alone, to another state, and stayed in the home of a friend who was off on vacation. The house had a fully stocked bar and I was alone in it.
No one would know but me if I drank. I didn't, nor did I want to. Even though I was still having physical cravings!
The decision to abstain no matter what is a true triumph, and highly underrated by many, I'm afraid.