No, if you only remove the backup drive from Time Machine, it will not erase the data on the drive. It only disable the backup function.