The CLOSE command closes the sequencer element and the port and file associated with it. When the last element is closed, MCI unloads the sequencer.