What does the code look like? If you're trapped in an infinite loop, like WHILE 1 ... WEND, you can just use BREAK to break out of the loop.