Be sure to generously spray your baking dish with non-stick spray and don't let the cake sit in the baking dish (or pan) for longer than 10 minutes once cooked or the caramelized toppings will start to cool and stick. Ultimately, you can place a piece of parchment paper on the bottom of the pan or baking dish to further ensure the cake doesn't stick.