The Coast Guard issued a safety warning to boaters as the whale was being towed away late Tuesday afternoon.
It was found floating near the San Francisco Ferry Building and Pier 5 earlier in the day. No word yet on why it died.
They removed the whale just in time for the start of an international yacht race which began in the early evening.