No, there isn't a code that lets you get rid of or "kill" your monster. That simply isn't an option in the game.