# unlink

Terminates the link between the current Tera Term window and MACRO.

    unlink

## Remarks

MACRO enters the unlinked state and can not control the Tera Term window any more.
In the unlinked state, the "connect" command can open a new Tera Term window and link MACRO to it.

## Example

    ; open a Tera Term window and link MACRO to it
    connect 'host'

    ; terminate the link
    unlink

    ; open another Tera Term window and link MACRO to it
    connect 'host2'

## See also

- closett
- connect
- cygconnect
- disconnect
- testlink