# Disconnect

After an initial [Connect](https://wallet-docs.broearn.com/provider-methods/connect) event has taken place, an app may disconnect from Broearn Wallet at anytime. Once disconnected, Broearn Wallet will reject all signature requests until another connection is established.

### Query Function

```javascript
window.bw.put.disconnect({ session: "" })
```

### Query String Parameters

```json
// Query code
{
    session: '...'
}
```

### Returns

#### :white\_check\_mark: Approve

```json
{
  "data": "success"
}
```

#### :x:Reject

An `errorCode` and `errorMessage` as query parameters. Please refer to [Errors](https://wallet-docs.broearn.com/errors) for a full list of possible error codes.

```json
{
  "errorCode": "...",
  "errorMessage": "..."
}
```
