surrenders in the court