Generally, if you have a court case pending you cannot leave the country.
Mandi