This issue appears to have resurfaced in 1.21, however I've found that a simple solution at least for arrows is simply shooting your bow until the stuck arrows are depleted.
This issue appears to have resurfaced in 1.21, however I've found that a simple solution at least for arrows is simply shooting your bow until the stuck arrows are depleted.