it doesnt work that way, once the transaction is submitted into the network there is no way to cancel it
the thing with 3rd party platforms like coinbase and biance that doesn't send directly the transaction when you submit it from your account is that they make a delay for example 10 min for them its for reducing the fees so they make a bunch of transactions at once yours mine and others and they take profit from it that time is what you have to cancel but to cancel a bitcoin transaction and reverse it that's impossible. and remember bitcoin transactions are made on the blockchain coinbase binance and the others are just 3rd party platforms made mainly for trading.
Do it for Fun or Don't do it at all!