Before baking, grease the pan after you have lined it with parchment - this provides a slick surface to release the cake. Additionally, flip the baked cake onto your serving platter while it is still warm. This way the caramel and apples won't cool and stick to the pan.