The youngster was being carried further offshore by the tide and the wind, the RNLI said.