Trump leaves the court in New York after his hearing