No matter what you do, learn from it. There is not always a right and a wrong here. Sometimes slience is golden. Other times you have to say something. I think a lot of this would depend on where I was and what tone the coach was taking with me.
Believe me, you will have many more situations like this if you continue to officiate. Just learn from them and move on.
Peace