Technically you did the right thing. You aren't supposed to spectate after a flip until the marshals instruct you to do so.
It's up to the drivers approaching to slow down when they get the yellow and be aware that there may be trouble ahead.
It's up to the drivers approaching to slow down when they get the yellow and be aware that there may be trouble ahead.