Years ago and today it still feels weird to me to
/msg nickserv... /msg nickserv...IRC nowadays supports SASL auth, for exactly this purpose.
If you need to change passwords, use /raw NS ... or /raw NickServ ... or /quote ... or directly /NS if your client supports it. Never /msg.
/query NickServ
then do the commands in the new tab. Feels slightly less wrong. :)