A government can restrict exchanges or make using it illegal in its country, and some have. But no one can shut down the network itself.
Go deeperBitcoin runs on nodes and miners spread across many countries. As long as some of them keep running, the network keeps going. In the US, Bitcoin is legal, and there are spot Bitcoin ETFs that trade on regular stock exchanges.
Learn moreMastering Bitcoin: The Bitcoin Network ↗