A bank wants your product. Their security team will not allow customer data to leave their data centre, so they ask you to install it on their servers. Most large customers in banking, insurance, healthcare and government ask the same.
You say yes, because that is how the deal closes. Your team installs the full application in their environment, and their IT team now has your code on their machines, under their control.
Two years later the customer does not renew. Your contract says they must stop using the software and delete it. You have no way to check, and the software keeps running.

