The Prime Minister was moved from his official Canberra residence for several hours as authorities investigated the incident.