What governs the remaining Ramadan days after sanity returns?

Kitab al-Sawm: Unconsciousness, Recovery, Menstruation and Abstention