If the shelf has already been allocated to a Inventory SKU and its stock is more than 0, it is unrecyclable and can't be allocated.
 

You can recycle the shelf by following methods:

Step 1: Create a stock-out list to reduce the stock to 0. How to add Stock-In List?

Step 2: Delete Merchant SKU.