You're exactly right. She wants you to put her back, it's behavior seen across all species of snakes. The best thing you can do is not freak out and put her back immediately. Hold her for a while longer and eventually she should get the idea that peeing on you is not a ticket back to her cage.