Looking for information on reversing RMD withdrawals ? Can RMD rollbacks be made in the form of stock or must it only be rolled back with cash?

The Initial RMD was taken with a Stock transfer and cash.  Can liked $$ in stock be reversed?