. WARNING: When you use the command, the Arduino takes over your mouse! Make sure you have control before you use the command

But i made this mistake now i haven’t control before i use this command. Now i want to dlt this program from the arduino leonardo but no port is available for that and i think its acts like a mouse , Now how I delete those program help me

If your Title summarised what you are having trouble with then the people who know the answer might tell you.

If you edit your Original Post you can change the Title. What about "How to reprogram Leonardo when it behaves like a mouse"