The British athlete had to settle for second place in the World Athletics Ultimate Championships.