after treading water in the upright position , he tipped himself forward , ready to begin a strong breaststroke back to the shore , but he was halted by a sharp , searing pain in his right thigh and suddenly his legs lost all of their strength , quickly followed by his arms .