IAAL, however, I don't practice in the USA.
Although infrequent, witnesses for the prosecution can be called back if the presiding judge allows reopening of the prosecution's case.
See in the USA: https://katzjustice.com/when-may-a-prosecutor-reopen-the-case-in-chief/
That's why I tend to agree with [email protected]. The order should continue to be enforced until the end of the trial.
After the conviction, but naturally before sentencing.