The NAS is now unplugged whilst I pause and think rationally what to do.
Difficult one.
Theoretically, if you were very careful and your router/firewall provides a way to block outbound as well as inbound traffic from its IP address you could reduce the risk of data leakage.
Maybe the manufacturer will let you send it back to them under warranty and format it... unless they'll send you some tools on a CD.