Hi Jockehome,
I did not know about Citrix Wem tool. But for SQL server database, we can use DROP MASTER KEY statement to remove the master key from the current database.
Please compare your situation with below blog and try the solutions from below blogs.
SQL SERVER – Error 15580 – Cannot Drop Master Key
Drop Master Key ! – Understanding encryption hierarchy
Best regards,
Cathy