Went to the usual suspects,one said I never buy a car with a sunroof. Another said the headliner must come out. In desperation I went to place I had an oil change once. I told him how it happened. He opened the roof part way moved the sunshade against the leading edge of the sunroof gave it a wack with his hand click problem solved.
From now on I promise to be gentle to my favorite car.