A state judge cannot "revoke" a passport. That authority lies exclusively with the Federal Government. If the Court ordered you surrender the passport to the court to be held by the court, you can file a motion to get it back. Without knowing the reasons why, I can't offer any other advice.
Answered on Jul 29th, 2013 at 3:11 PM