Johnny Depp leaves court on final day on libel trial