Unfortunately, you cannot abort a MEL script while its running. The only thing you can do is undo the operation once its done.