---
name: nordvpn_disconnect
kind: function
lang: bash
domain: infra
version: "1.0.0"
purity: impure
signature: "nordvpn_disconnect() -> json"
description: "Desconecta de NordVPN. Idempotente — si no hay conexion activa retorna ok. Devuelve JSON con resultado."
tags: [vpn, nordvpn, disconnect, infra, network, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: "error_go_core"
imports: []
params: []
output: "JSON con ok y status"
tested: false
tests: []
test_file_path: ""
file_path: "bash/functions/infra/nordvpn_disconnect.sh"
---

## Ejemplo

```bash
source nordvpn_disconnect.sh

nordvpn_disconnect
# {"ok":true,"status":"disconnected"}
```

## Notas

Idempotente: si no hay conexion activa, retorna ok sin error. Requiere NordVPN CLI instalado.
