Use a larger mug to give the cake more room to rise or place a microwave-safe plate underneath the mug to catch any potential spills.