If they're in your chain of command, and it's a lawful order, then you must follow it.
This one does not sound lawful
We don't currently have the whole testimony, but obviously she still testified about something. Sounds to me like she and the lawyer decided the best course of action was to bypass the order by going out the window instead of the door.
"Judge I was ordered to not give you numbers, but the numbers are really really bad."
"Enraged judge: Who tf is trying to intimidate the witness and tamper with evidence!
be more likely to go like this
"Judge I was ordered to not give you numbers, but the numbers are really really bad."
"Corrupt judge: Follow orders or be court martialed"
(post is archived)