keyboard shortcut to rename the title of terminal?
You are almost there.

You can open the inspector to set the title name with CMD + Shift+I

In order to close it you can press ESC
 OR use the inspector toggle shortcut - CMD + I