No, as long as there is no unpaid balance on your credit card, you have the right to cancel it.
As 2L said, it may be because you have used it well and the bank wants to retain you as a user. It is recommended not to cancel it. If it is tougher, it will definitely cancel it for you.
Another point is that you cannot reapply for a credit card within a long period of time after canceling, so be careful when canceling.