Docs JavaScript API COM close close COM.close(port) Parameters port COM port name as a string. Returns Nothing Description Closes the specified COM port.