A method for manufacturing an elongated element (200) is disclosed. The method comprises arranging a molding cavity (101), defined by a mold (103) and a mold insert (104), said mold insert (104) comprising a mold core (105). A liquid material is then injected into a proximal end (102) of the molding cavity (101), and the material is solidified, such that the elongated element (200) is formed. The elongated element (200) and mold insert (104) are removed from said mold (103), and the elongated element (200) is removed from said mold insert (104), wherein said removal of said elongated element (200) from said mold insert (104) comprises injecting a fluid in the interface between the elongated element (200) and the mold core (105). A mold assembly for the manufacture thereof is also provided.