There is no stopping this, if we were in 2012 I could still believe it, but if countries start to ban Bitcoin mining, there will always be other countries willing to mine. Take El Salvador, for example, and others to come.
Yeah right, how much of the hashrate can Salvador host?

OP, you've asked the question on the wrong forum, problems that might arise from a ban are simply incomprehensible here, people throw away reasons because there must be no weakness in bitcoin, so doesn't matter what happens, even if we have a nuclear war, even if the planet is wiped out bitcoin will note affected.
Just for fun, when we look at the topics about how secure the network is poeple immediately start crunching numbers, it takes 2 million brand new miners and a whole amount of power to attack the network, it's simply not possible to produce the miners or buy them.. but..The latest ban just solved those problems from an attacker point of view, not only did the hashrate drop to half, so you needed less than half of the miners needed but also there was an influx of used gear doesn't the market at cheaper prices, solving the problem of having a factory ready to assemble this for an attack.
USA banning mining? It would be terrible, just think who is going to host all that hash rate, and with what power? Salvador with its 6Twh of power and with 20% of that coming from imports? The reality is that at this point any outright ban will have terrible consequences. But you can't speak of that here or you're going to get pitchforked.
In any case, when China supposedly banned bitcoin mining a lot of people FUDed about a massive hashrate drop but we only saw a very small drop, most of which was because of the price dropped that had happened before that news!
Then I'm pretty sure you have a simple explanation why would the hashrate dropped after the China ban to ~ 97.87 EH/s with the prices still at ~30k while in the previous October we had 142.94 EH/s with an average price of ~10k.
How does this make sense to you?