He returned to the role again in the fifth movie , Harry Potter and the Order of the Phoenix , which was released in 2007 . He will once again return to portray Dumbledore in film the sixth Harry Potter and the Half-Blood Prince . He returned to the role again in the fifth film , 2007 's Harry Potter and the Order of the Phoenix , and the sixth film , Harry Potter and the Half-Blood Prince .