This will not happen.
As long as it is a UnionPay credit card (credit card) or debit card, you can withdraw cash from any ATM in the country.
There are two situations where you cannot withdraw cash:
First, there is no cash withdrawal limit on the card or there is no deposit.
Second, the ATM machine has been empty of money and there is no cash, so the withdrawal item will not be displayed.
This problem belongs to the second situation, just change to another ATM machine.