From Longman Dictionary of Contemporary Englishdo something under protestdo something under protestPROTESTto do something while making it clear that you do not want to do it The bill was eventually paid under protest. → protest
Examples from the Corpus
do something under protest• They finally paid the full bill under protest.