Complex sentence: The squadron moved to the Cocos Islands in August 1945 to prepare for the planned invasion of Malaya, following the Japanese surrendered the squadron disbanded there on 15 November 1945.
Split into simpler sentences: The squadron moved to the Cocos Islands in August 1945 to prepare for the planned invasion of Malaya. After the Japanese surrender the squadron disbanded there on 15 November 1945.