The sentence enforcement judge may withdraw the decision for home detention under electronic monitoring either in the event of non-compliance with the prohibitions or obligations provided for in article 132-26 of the Criminal Code, notorious misconduct, failure to comply with measures ordered pursuant to article 723-10 of this code, a new conviction or refusal by the sentenced person of a necessary change to the conditions of enforcement, or at the request of the sentenced person. The decision is taken in accordance with the provisions of article 712-6. If the decision to impose electronically monitored home detention is withdrawn, the sentenced person will serve all or part of the sentence remaining to be served on the day of his electronically monitored home detention, depending on the provisions of the withdrawal decision. However, the time during which he was placed under electronic surveillance counts towards serving his sentence.