A huge humpback whale that washed ashore at a popular capital city beach on Monday has been removed after attracting large crowds and circling sharks.