It had been deployed to assist the British, Australian and Indian land forces in stopping the Japanese invasion of Malaya.