Move the piece of furniture sitting on the wooden shims to another location so you can access the floor.
Drill a small hole in the center of the floor where each shim is located so you understand how deeply you will have to cut.
Draw a circle around each wooden shim to mark where you will need to cut up the upper floor and subfloor to access the shims. Make the circle as small as possible so you only remove the minimum amount of flooring to complete the job.
Cut out the circle of floor covering by cutting carpeting with scissors or an electric saw to remove tile. Continue to saw through the subfloor to get to the wooden shim underneath, but take care not to accidentally cut through the joists that hold the floor together.
Remove the wooden shims by hand. Patch the holes you have created by replacing the small areas of subfloor and carpeting or tile that you removed to retrieve the shims.