Yes, you will pay back the leverage to the broker. You may even have to pay interest on the money you borrowed as leverage, depending on the broker.