Stochastic perturbations can trigger major ecosystem shifts. Marine systems have been severely affected in recent years by mass mortality events related to positive thermal anomalies. Although the immediate effects in the species demography affected by mortality events are well known, information on the mid- to long-term effects at the community level is much less documented. Here, we show how an extreme warming event replaces a structurally complex habitat, dominated by long-lived species, by a simplified habitat (lower species diversity and richness) dominated by turf-forming species. On the basis of a study involving the experimental manipulation of the presence of the gorgonian Paramuricea clavata, we observed that its presence mitigated the effects of warming by maintaining the original assemblage dominated by macroinvertebrates and delaying the proliferation and spread of the invasive alga Caulerpa cylindracea. However, due to the increase of sediment and turf-forming species after the mortality event we hypothesize a further degradation of the whole assemblage as both factors decrease the recruitment of P.clavata, decrease the survival of encrusting coralligenous-dwelling macroinvertebrates and facilitate the spreading of C. cylindracea.