In 1971, Rao was the Commanding Officer of INS Kiltan in the Eastern Naval Command. However, with the war looming against Pakistan, Admiral SM Nanda, the then chief of Naval Staff, personally appointed Rao to join the Western Naval Command so as to command ‘Operation Trident’ against Pakistan.