Is the judge allowed to revoke the court order without your lawyer present?

If the judge is revoking his own court order, it would make no difference whether your lawyer was present or not. The judge is allowed to revoke, withdraw, or alter, his own orders as he sees fit.