Leonardo Problem

I just uploaded a mouse emulator sketch to my leonardo and I wanted to change the program. But if I plug in my leonardo, my normal mouse gets disabled. I tried CTRL+U but it can't upload it because it sends the coordinates at every tick. What should I do now? Thanks...

Keep smashing the reset button on your Leonardo until you pressed upload.

Here you have some more information about how to avoid it in the future.

https://www.arduino.cc/en/Reference/MouseKeyboard

(deleted)