If occasionally you paid your credit card bill more than the total spending, aka full payment, your credit card will have a credit record of money.
In this case, some banks will have the discretion to transfer the extra cash from your credit card to your bank accounts, provides that the card issuer being your bank.
If your credit card is still not fully paid, the banks won't cash out for you.
Another senrio is you spent with your credit card but the transaction was cancelled, your credit card will have a credit of money. Consequences would be the same as aforesaid.
If your credit card isn'n issued by a bank, or even it's a bank credit card but you don't have an account with the bank, chance is slim that you can get the cash.