You just have to install another bootloader over grub's mbr. If it is windows then you just need to reload windows' mbr, using either fixmbr in the recovery console or fdisk /mbr, depending on which version of windows you are using. If you want a different bootloader then just install that bootloader according to its instructions. If you take grub off without putting another bootloader in its place then you have an unbootable drive.