I had same problem with disconnecting from openvpn3
I end up creating this small repo that helps manage the openvpn3 sessions
To disconnect the session, you have know the session's Path
openvpn3 session-manage --session-path $OPENVPN3_SESSION_PATH --disconnect
the session path could be found via
openvpn3 sessions-list
> -----------------------------------------------------------------------------
> Path: /net/openvpn/v3/sessions/7a42f37asc8d9s424c8b534sd331d6dd56e8
> Created: Tue Dec 8 10:44:57 2020 PID: 9495
> Owner: shmalex Device: tun0
> Config name: client.ovpn (Config not available)
> Session name: ***.***.***.***
> Status: Connection, Client connected
> -----------------------------------------------------------------------------
OPENVPN3_SESSION_PATH=/net/openvpn/v3/sessions/7a42f37asc8d9s424c8b534sd331d6dd56e8
openvpn3 session-manage --session-path $OPENVPN3_SESSION_PATH --disconnect
You can use my repo to perform same actions with help of bash files.