Quotas and tax

Hi, is it correct to say…the effect of a quota on surplus is the same as that of a tax except that what would have become producer surplus in a quota becomes government revenue in a tax…