Does the withdrawal of the document restore the used limit?

No. Withdrawing a document doesn't restore the limit pool.