Barisan Nasional's candidate for the Kuala Terangganu parliamentary seat by-election Wan Ahmad Farid has resigned from his deputy minister's post.