"Jihoon! You forgot the trash!"
Translation:지훈아! 쓰레기를 잊어버렸다!
Indeed. I also think there are contexts where the -요 would be used with this sentence.
But it is good to know that the -다 form seems to be commonly used to express an exclamation.
Like when your friends are saying
맛있다! (or 맛있겠다)
whenever a new dish arrives in the restaurant.
Implying, that looks delicious!
I'm saying this based on personal experience, couldn't find any outside online source corroborating this. So take it with a grain of salt.