The lye is what causes the chemical reaction (called saponification, which is where we get the word "soap") that turns the oils/fats into soap. Without lye, you don't have real soap, you have detergent.
By the end of the process, there is no lye left, only soap.