# \<disconnect>

## \<disconnect> <a href="#disconnect" id="disconnect"></a>

Causes the interpreter context to disconnect from the user. As a result, the interpreter context will throw a connection.disconnect.hangup event, which may be caught to do cleanup processing.

### Attributes

<table><thead><tr><th width="179.33333333333331">Name</th><th width="153">Data type<select><option value="28563976b6a549e1858c7aa883143e8a" label="String" color="blue"></option><option value="2959a3e92ca34fd7b2da1b8a7b363b1c" label="Integer" color="blue"></option><option value="2f3ad78f81e74d5ba68621643da9532d" label="Boolean" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td>namelist</td><td><span data-option="28563976b6a549e1858c7aa883143e8a">String</span></td><td>Variable names to be returned to interpreter context. The default is to return no variables; this means the interpreter context will receive an empty ECMAScript object.</td></tr></tbody></table>

### Notes

None

### Example

```markup
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        You will hear this text.
      </prompt>
      <disconnect/>
      <prompt>
        You will never hear this text.
      </prompt>
    </block>
  </form>
</vxml>
```

The output of the above script would be:

> Computer: You will hear this text.

### Child Tags

None

### Parent Tags

[\<block>](/dev/voicexml/tags/block-tag.md), [\<catch>](/dev/voicexml/tags/catch-tag.md), [\<error>](/dev/voicexml/tags/error-tag.md), [\<filled>](/dev/voicexml/tags/filled-tag.md), [\<foreach>](/dev/voicexml/tags/foreach-tag.md), [\<help>](/dev/voicexml/tags/help-tag.md), [\<if>](/dev/voicexml/tags/if-tag.md), [\<noinput>](/dev/voicexml/tags/noinput-tag.md), [\<nomatch>](/dev/voicexml/tags/nomatch-tag.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plumvoice.com/dev/voicexml/tags/disconnect-tag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
