In Microsoft BASIC, the STOP statement terminates program execution and returns to immediate mode.