You can export samples stored on the Roland P-6 to your computer using the backup (export) function. For the export procedure, see "Backing up samples to your computer (export)" in the P-6 Owner's Manual.
Note: The P-6 SampleTool app does not support this; it only imports samples from your computer to the P-6.