# disconnect

Closes the communication between Tera Term and the host.

    disconnect [<confirm>]

## Parameters

integer <confirm> (optional default=nonzero) (version 4.65 or later)
  If this parameter is zero, the Tera Term is immediately disconnected without confirmation.
  If this parameter is nonzero, the confirmation dialog is shown whether the Tera Term disconnects.

## Remarks

If Tera Term is not terminated by this command, the link between Tera Term and MACRO is kept.

## See also

- "closett"
- "connect"
- "cygconnect"
- "testlink"
- "unlink"