Use 'under protest' to express that you're complying with something but with reluctance or resistance. She attended the meeting under protest, feeling it was a waste of time.
Pro Tip 2/3
Emotional Overtones
Conveys feelings of frustration or annoyance; not just disagreeing, but also upset about it. He completed the assignment under protest, annoyed by the short deadline.
Pro Tip 3/3
Implicit Disagreement
Even without openly arguing, using 'under protest' implies you don't agree with the decision. They accepted the policy change under protest.