They can’t ban cash, it is written on each bill for just this reason.
“This bill is legal tender for all debts private and public.”
Nobody's life, liberty or property is safe while the legislature is in session.