When you’re anchored or moored you are allowed to drink all you want on your boat. No need to pull keys but floating or beached without tied up keys in or out can be trouble.just anchor off the shore Thompson bay find a corner switch batteries to one leaving Marker lights on ,pull the keys and enjoy a cocktail