surrendered in court