"Swan" was in Darwin the next day when the Japanese attacked the port and was secured alongside , which had a cargo that included 100 depth charges. The ship managed to get underway and contributed fire in defence, but was heavily damaged by a near miss. The day after the attack "Warrego" escorted the damaged "Swan" through Clarence Strait. Three crew members were killed in the attack.