Talaq Without Intention
Woman cannot give herself a divorce, so it is frivolous. your uttering of the words of divorce has no intention to divorce, then it is can be nullified. This is you who has to be honestly clear that you had the intention or not. If not, you nikah is still valid. But strongly recommended not to use such a serious way to threaten your wife. This can get serious if the court decides otherwise.