Store to RTC memory on demand

I use the following code to store values in RTC memory of the ESP in case of power down.

  restore_from_flash: true
  flash_write_interval: 24h
  - id: total_pluses
    type: int
    restore_value: True

Is there a way to store data to the RTC memory on demand just before I manually disconnect the device from the power? supply.