There was a video a few months ago showing someone recording in-country immigration checkpoints (dozens of miles inland, checking IDs without cause in a very unconstitutional manner). The driver reiterated "am I free to go?" until he got a "yes". Chilling, and informative that "am I free to go?" is the ONLY thing you say/ask. If they say "no", lawyer up & shut up; if "yes", leave.
Only question remaining is at what point does the LEO's refusal to say "yes" or "no" constitute one or the other.
Furthermore, one could hope that your refusal to answer his questions with anything other than "Am I free to go?" would not be so easy to construe as this sort of silence signaling guilt.
Since your leaving could be spun as felony (in at least some jurisdictions) fleeing the police, you'd best not leave without their OK, explicit, or implicit by their leaving first.
Note: don't let yourself get startled by the police into running away. One of the things that reified all I've been reading about the modern police in the last decade or so was retiring and returning to my home town, and one day in 2007-8 a new, improved policeman played a game of chicken with my body and his car, that is, as soon as he noticed me, he veered it on a near collision course. I was an experienced enough pedestrian---which I think is unusual here---that I could tell his vehicle would miss me by a good foot or more and the mirror by at least half that, so I stared him down, and he then veered away. Based on my readings, I have have to assume he was trying to get me to run ("this crazy cop is trying to kill me!"), at which point the crime of fleeing the police could be claimed.
Nowhere am I advocating that. I'm only suggesting "Am I free to leave?" and silence in response to anything but an unequivocal "Yes" to the question. And noting their leaving is also an implicit Yes.
Now, depending on your reading of the situation and the cop(s), you could play games with an equivocal answer, i.e. follow with "OK, you are detaining me", and if they object, go back to the free to leave theme, then press them on deciding one or the other. But that's not what I think one should generally do.
Needlessly complicated? I suppose that's a matter of interpretation when you're on the receiving end of a power imbalance and are wanting to both go on your way and assert and protect your rights.
Yes, the shorter path is to ask if one is free to leave, and then respond accordingly. And yet still, it is not incomprehensible that an officer might respond with something more complex than a simple "No" when asked if you are free to leave. Say, something along the lines of, "Yes, as soon as you answer a couple questions." This is much closer to a "no", but still legally debatable (especially within the context of this decision) whether or not you are in a situation in which you may rightfully assert your rights.
1. Am I free to leave?
2. No.
OK, now you've made it clear you are under custodial interrogation (I suppose there are safety exceptions to that), Miranda is invoked according to the Orin Kerr, and you can keep your mouth shut beyond the requirement to give your name in some states.