Sure the company still has to payout salary, as per the contract, but plenty of companies do not want laid of people around.