There is no way to reverse this. Depending on the previous state of the disk prior it would be possible to recreate the disk with something else. It may even be possible to recover data or even partitions using Testdisk and/or photorec or other tools depending on the previous filesystem/data - but its not possible to simply reverse the command to how the system was before.
If, as the second part of your system implies, all you are wanting to do is reset the disk so it looks like its brand new, you can simply delete the partitioning data with a command like "dd if=/dev/zero of=/dev/sdb bs=1024 count=1"
sdb
, notsdb1
or so.