How to stop and save data on arduino board

How much data?

Maybe the EEPROM would do the job.