I hate to tell you this, but you were going to be detained from the get-go. The PD got a call about a possible robbery attempt in progress and responded accordingly. The Officer (and the rest of them) do NOT know you from Adam and they do NOT know you're not going to try to attempt a robbery...