You would presumably notify the company about the cancellation, wouldn't you. Unprofessional not to do so. However the ability of a company to not accept cancellation sent by, say, email, is not possible without the government acting to enforce such restrictions.