Ultima VI contains a built-in cheat mode (which was most likely used by the developers for testing and QA). There are other cheats as well.