@bohemian, do you have an advocate? Are you in the UK? By UK law, you should be offered a mental health advocate every time they section you. You can also get an advocate in advance of being sectioned, for example if you know that your doctor is discussing it with a specialist.
Google your area and the words 'mental health advocate' and you should find the organisation(s) responsible. Explain your situation to them and ask if they have anyone who specialises in severe ME.
It requires two doctors to sign off on sectioning, so the other thing to consider is switching GPs. Finding an expert in ME might help.
Though not free usually, The ME Trust offers bursaries for private consultations with Dr Paul Worthley. He's a supporter of the biomedical model, and seems to understand the illness. Your first consultation is usually free, and he'll do it over the phone, so it's worth a shot.
Info here:
http://www.meassociation.org.uk/201...seeing-mecfs-patients-again-23-february-2017/
If you get a supportive GP, that may be the first step in avoiding this in future. But an advocate is essential for ensuring you're listened to at this stage.
If the antipsychotics are causing you problems, perhaps it's better not to outright and openly refuse to take them for now, but just to flush them quietly? You can tell the doctor you're taking the drug, and how will they know, short of doing blood tests (which they can't force you to do unless they section you)?
If the side-effects truly are that awful, I would just stop taking them and try to find a new GP. Of course, there may be withdrawal effects, so do your research to see whether you need to taper the drugs or whatever. Abruptly stopping them might cause more problems than the drugs themselves.