That's why they need a type of confirmation before actions happen.
Like
"Are you sure you want to drop the 2 mandrake root?"
then you have to say something like
/yes
or
/no
Do this with restart too. You wouldn't need to do it if you used the /drop blah blah blah blah command since you know what you're dropping. So if you did this then noone would be on the forums going "I RESTARTED AND I HAD TWO WHOLE LEVELS AND A WOLF'S FOOT. PLZ RESTORE ME!" or something like that X_x.