You actually have two problems now. Go back or stay in Shanghai. It has nothing to do with any health certificate.
Then you think, is it harder to survive in Shanghai? It's even more unbearable to let you go back to your parents penniless.
In this way, your choice will be answered positively soon.