Sorry about this, it sounds like the machine had a fault.
If your card is active in the app, it’s unlikely blocked, and any money not dispensed is usually returned within a few days. If not, message us 24/7 via the app or online banking, and we’ll check it for you. ^Nandu