CLOSE

CLOSE #channel

channel

an expression or variable matching that used to open the file. Files should be closed explicitly, although BASIC will perform a forced closed on any file left open when the program ends.