The decision as to whether or not you should stand your ground and face the complete PITA of being roughed up and taken to jail has to lie with you and you alone. Trust me it sucks whether you did anything wrong or not.
However I will say that if I'm just passing by, or if I call to simply point out a road hazard like you did then there is, in the first case, no obligation to converse or interact (as there would be in a traffic or terry stop), and in the second no conversation is necessary beyond "Hey yeah it's over there". So in either of those types of cases I will neither voluntarily disarm at the whim of an LEO or physically resist. Clear, articulate, and calm "mere remonstrations" are important if they decide not to let you walk.
Just don't unnecessarily put yourself in positions where you are exposed to a terry stop.