The Maya civilization was mostly destroyed by the Spanish conquest. That’s the level of existential threat climate poses to use.
But it was the resulting warfare from all that that really fucked then up.
But post-classical Mayan civilization was still healthy and large in scale. Just not the same kind of thing.
It would be a mistake to say their civilization ended then. It simply changed.
The Spanish killed it though. Killed it so systematically it became myth for centuries