Pradeep Maharathy resigned on "moral ground" and said he did not want his party BJD to get into trouble.