Matthew gets upset and throws one of his toys against the wa…

Matthew gets upset and throws one of his toys against the wall. His Dad then removes him from the toy room and puts him in the hallway for a brief period of time.  As a result, the probability of Matthew throwing his toys against the wall decreases.  Which negative punishment procedure is Matthew’s Dad using with him?