Create a global variable like Can_Sine. Use 0 for false and 1 for true.
Create 2 conditions:
Can_Sine = 1 > Box > Sine Active
Can_Sine = 0 > Box > Sine InActive
Box > On Collision with Object A > disable sine etc...
Box > On Collision with Floor > Set Can_Sine = 0