Unfortunately, you cannot abort a MEL script while its running. The only thing you can do is undo the operation once its done.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License