How to end the uge assignment or overnight