I would always encourage the exercise of rights, particularly against searches (as the parent mentioned). However, the refusal to search often, I hesitate to say always, but I can’t think any outstanding examples in my experience where a refusal to search did not automatically result in the search happening. And the results of that search in many cases will turn up enough ‘suspicion’ for the officer to arrest for some charge, even where actual evidence is clearly not enough.
I will certainly say that this is not universal, but refusals to search are often cited as suspicious behaviors, which then turns into more suspicious behaviors giving more reasons to continue the detention. Also, the purported difference between detention and arrest is nearly useless in practice, who feels like they are free to just get in their car and drive off.
So, the TL;DR is yes stand up for yourself and exercise your rights, but understand that in most cases in the US, if law enforcement wants to arrest you, they are going to find a reason to do so. Be smart, be safe.
That's the salient question.
I don't doubt your confidence, and, likely, experience. Only the specific strategy as outlined in this thread and article.