The actress announced on Instagram that she would be leaving the musical at the end of July, two months earlier than previously announced.