Huh. Here they only sing in the morning. Are you sure it was a mockingbird? I've heard people have that reaction to whippoorwills and other nightjars that sing loudly and repetitively all night.
https://www.allaboutbirds.org/news/what-can-i-do-about-a-bir...
I envisioned him as a punk rock kid who liked to replay our human obnoxiousness back at us to see how we liked it.
I had a great deal of appreciation for that bird.