Depending on what utility you used it most likely became unallocated space, which should not be displayed/listed as such, just like a partition. While there's no 'undo' command you may be able to either 'extend,' 'increase free space,' or 'enlarge' the partition using the unallocated space. The exact options, though, depend on the utility used.

John