I don’t understand why the mine would hold him unless it was enchanted somehow or the unmined diamonds they used to make fairy dust somehow have a magical property that could keep him from using his magic
A tiny bit of evidence for the idea that fairy dust blocks Dark One power: Rumple tells Bae, “Fairy magic doesn’t mix well with what I am”– maybe it’s the Dark One Kyptonite.