When you click on the Cursed shrine the event begins. You must defeat five waves of enemies before the timer expires. If you do so you will be rewarded with a bonus chest and the shrine will turn into a random shrine effect. You will get only the shrine if you fail to kill all five waves of enemies.