You are looking at a command called erase

erase {object}

Compeletely erase all traces of the named object. This sends it straight to the void, never to be seen again - it doe not send it to the rubbish bin.

eg:

create a pig. paint it as pink
erase the pig


Use read command called delete if you want to softly delete something with the potential of maybe, if your lucky, getting it back if you change your mind later.. but not much later othewise the janitor will clean it up.
Code