If you are on a CTO, it is highly likely that there will be several conditions attached to it, eg to reside at a certain address. As a matter of law, you cannot be forced to abide by these conditions. You cannot be forced, for example, to take medication against your wishes, even if a condition of your CTO is that you should take it.
However, anyone who is on a CTO is liable to recall to hospital as a result of being on the CTO, and your failure to abide by a condition of the CTO may be taken into account when deciding whether you have reached the threshold requiring your recall.