A LEO can come talk to you anytime you want. That is not nessessarily a detainment. My standard response would be "Am I free to go officer?" If they say yes, then leave. If they say no, you are being detained. Use your 5th amendment right. The mere sight of a holstered firearm is not RAS, so legally they need more than just that in order to keep you there for investigation.