I do not have enough details about your situation to provide you with a definitive answer about forced hospitalization. Generally speaking, an individual cannot be forcibly hospitalized unless there is strong evidence that they are intending to deliberately end their life or harm others. Individuals typically are hospitalized against their will when it is believed that they are a danger to themselves or to others.
It was a mistake to abruptly stop taking your medication. Your doctor may have suggested going to the hospital because he was concerned about the possible side effects associated with stopping your medicine. Your doctor is correct to be concerned. If you intended to stop taking your medicine, then you should have done so with the assistance of your doctor. Sometimes, abruptly discontinuing medication can lead to illness relapse, among other problems. By not following the advice of your doctor, you are putting yourself at risk for dangerous health consequences.
As part of their medical training, physicians intensely study the body and how medicine affects the body. Consider them experts on the subject. As patients, it is important to work in collaboration with our doctors but they are the experts.
You should take the advice of your doctor and go to the hospital if he deems it to be the most appropriate intervention at this time. At the very least, return to his local office so that he may evaluate your status and monitor your progress. That is especially important because you have a diagnosed serious mental illness. The concern is that the illness symptoms will return and you may require his expertise in knowing how to handle this outcome. Please take care.