#!/bin/bash
SERVER=$(nordvpn status | grep -o "[a-z]\{2\}[0-9]\+")
nordvpn c $SERVER
Here is an edited version of your script to reconnect to the exact same server and hopefully minimize service interruptions.
(second output line of “nordvpn status” contains the exact server you are currently connected to)