The vehicle is stopped for speeding and officer asks you to exit the vehicle and conducts a search (which typically means the officer is interested in more than just issuing a civil traffic ticket). If for any reason the officer is to arrest you, tell the officer politely that you are invoking your rights. Officers may continue to ask questions while you invoke your right to remain silent because the officer does not have enough evidence to make an arrest without your confession or admissions.
So by continuing to remain silent, you are not giving the officer that one additional piece of evidence needed to make the arrest. Do not physically resist the officer in any manner, because doing so will result in an additional charge. Be as polite and respectful as possible.If you are not under arrest or detention, you are free to end the contact with the officer and leave. For instance, once you receive a traffic citation, you should be free to end the contact with the police.
Politely ask the officer if you are free to go.If the officer continues to detain you after you ask to leave, you may have grounds to suppress any evidence gathered after that. The only information you should give the officer is information concerning your identity (name, date of birth, address, etc.), driver's license, proof of insurance, and vehicle registration.