The Rock made a surprise return on a June episode of Raw before going to his assigned brand of SmackDown.