I wouldn't recommend leaving your cupcakes in the muffin pan for more than a few minutes. The residual heat from the pan can further cook them, leading to a dry cupcake!