For very senior staff they can get an injunction against you, stopping you from working elsewhere. For lower staff they can withold unpaid wages and charge you for the cost incurred of getting the temp cover up to the notice period. Given how high temp/contractor wages are compared to employee costs, this can be an insane number, especially in tech where an employee might be on £200 a day, but a contractor might charge £500-1000 or more.