Her announcement followed a court ruling that meant she would have to wear an electronic tag while campaigning.