The coastal town of Truro announced that Longnook Beach has been closed to swimming due to the shark attack on Wednesday afternoon.