If a police officer approaches you and begins to ask you questions, the first thing you need to determine is whether or not you’re being detained.
Politely ask the officer am I being detained? If the officer says no, Then ask in that case, am I free to leave, if they say yes, walk away.
If they say no, That means you are being detained.
If you’re being detained, say if I’m being detained, I won’t answer any questions without my lawyer present.
If they continue to question you, just remain silent or continue to say I don’t answer any questions without a lawyer.
This will be the hardest part, but soldier on. If they give you any orders besides answering questions, obey them, even if you believe that they have no reason to be stopping you.
If they ask you for your ID, since you are not operating a car, and New York is not a Stop and ID state. You don’t need to provide it.
However, if you have nothing to hide, providing your ID might make the detainment go faster.