You can generate script of GUI functionality by clicking below high-lighted option in the image.
It will give you all the below options.
You can use below script to rename SA account. Script will work with SQL Server 2005 and higer versions.
ALTER LOGIN sa Disable;
ALTER LOGIN sa WITH NAME = [Jugal];
Check my new article on MSSQLTips