The Supreme Court, on Tuesday, allowed export of unused stock of formulation of endosulfan insecticide while retaining the complete ban on its production, sale and use in the country.