You can leave the hospital first. But you'd better go to the hospital to see if you agree.
There are two kinds of hospitalization insurance provided by the Social Security Bureau, one is ordinary and the other is serious illness medical treatment. If you buy both, you will get more compensation.
If there is commercial insurance, it can also be reimbursed (such as China Ping An, Pacific, PICC and other companies).
Further reading: How to buy insurance, which is good, and teach you how to avoid these "pits" of insurance.