A machine can certainly be programmed in such a way that it can escape from parts of its own programming under the right circumstance. That's actually what error checking and handling does. A machine can even be programmed to learn what the appropriate error condition is and where to go when error is trapped.
We humans are also evidently programmed in such a way that we can instruct ourselves to escape part of our own programming when certain circumstances arise. So the ability to seemingly escape parts of program does in itself distinguish us from computers.
We humans are also evidently programmed in such a way that we can instruct ourselves to escape part of our own programming when certain circumstances arise. So the ability to seemingly escape parts of program does in itself distinguish us from computers.