From Ground: First, water the black pepper plant to soften the soil. Then, gently dig a wide trench around the plant using a spade or shovel, ensuring the plant's root ball stays intact. Carefully work the spade underneath the root ball to lift the plant. Avoid causing stress to the plant by not pulling it out forcefully.
From Pot/Container: Water the potting soil to loosen it up. Overturn the pot gently, while supporting the black pepper plant at the base. Tap the pot's sides or bottom, not too hard, to dislodge the root ball. Handle the plant by the base and not by the stems or the leaves.
From a Seedling Tray: Water the tray well. Using a thin stick or gardening trowel, gently lever the black pepper seedling upward from beneath keeping as much soil around the roots as possible. Never tug the plant by the stem or leaves.