This research study is evaluating the effectiveness of the drug called cabozantinib (alone or in combination with trastuzumab) as a possible treatment for advanced breast cancer in which the cancer has spread to the brain.