my AOS-5.1's Trash Can got corrupted
I'm sorry to hear that you're having problems but there's less here than meets the eye.
* There's a 'Trash' folder in the root directory of every drive whose files have gone in the Trash. It's done that way to avoid having to copy anything - the trashed file's directory entry is simply moved to another directory.
* Trash folders are only protected by the 'Hidden' flag, and AFAIK, never by the 'System' flag. Once you get past that, they are completely deletable, whether from the commandline or the WPS. The only reasons I can think of for being unable to delete one is that a file in the Trash is currently open, or you have a commandline session whose current directory is a Trash (sub)directory.
* Personally, I never use the thing and habitually hit Shift-Delete to bypass it. I also regularly delete my Trash folders if they happen to get created. As a test, I created then deleted files on two different drives, giving me the "Trash Full" icon. After opening each drive in Xview, I then deleted both Trash directory trees from the root folders . No problems there. The Desktop Trash icon still showed full and continued to do so even after a Desktop restart, so I opened it. The folder was empty and the icon reverted to "empty".
BTW... when I'm in a situation like you were and seemingly nothing is going right, I resort to the "Windows Miracle Cure": reboot and hope for the best