After the expiration time, the miner would get no profits. He must stop mining and let stakers withdraw their coins.