The returning officer for the Kuala Terengganu by-election has stepped down following complaints that he has campaigned for Barisan Nasional.