What do you mean by 'safely'?
According to what I found, lsvirprt uses vi editor (found at
http://www.redbooks.ibm.com/redbooks...tml/wwhelp.htm [I then searched for your lsvirprt command - found the following under the troubleshooting portion)
"To edit more complex attributes, such as ci, use the tilde operator to get a vi session for editing. "
If it is using vi, then you should probably try something like the ESC key to try to get back to where you need to be to hit Enter to exit. You may need to do a normal wq or q! - as far as control-C, it may or may not work.
(I don't claim to be an expert in AIX...heck, I haven't used it in over 10 years! But they always had pretty good documentation)