To STOP a running BASIC program, just type Control-C.