Before 80SR2, you need to do the following to delete a sheet from any book regardless of active book or not:
win -o book1 {page.active$=sheet2;lay -d};
In 80 SR2, we have "fixed" this and now it is very simple:
layer -d name; // del layer/sheet in active page
layer -d [book]sheet;// general range notation
CP