The cylinder will have to be replaced. I can't tell which one it is although it looks to be the major roof lifting strut.
If that is the strut it is part# 129 800 02 72. With the trim off the outside of the top well there is access to the bolt.piivot pin at the bottom.
Bosch Master, ASE Master, L1
33 years MB technician