If I have already desecrated Shabbos or eaten on Yom Kippur, must I observe the rest of the day?
Yes, the obligation to observe the remainder of the day remains. The holiness of Shabbos and Yom Kippur belongs to the day itself and does not disappear because of a person's actions. After a violation one must continue observing Shabbos, and after eating on Yom Kippur one must fast for the remainder of the fast.
A practical halachic question: the final ruling is for your rabbi.
Quote from the source«With Shabbos and Yom Kippur however, the mitzva applies to the day and the day itself remains holy.»
- Author
- Rabbi Yosef Karasik
- Source
- Beis Moshiach - English — 705, p. 5