If you leave employment during your hire agreement any balance remaining will be repaid from your final net salary. Unfortunately, you will not benefit from tax and National Insurance savings.