UPPER MARLBORO, Md. (CBSDC/AP) — A Crofton man accused of referring to himself as “a joker” and threatening to shoot up his workplace has been released to his parents from a psychiatric facility.

A Prince George’s County mental health court judge released 28-year-old Neil E. Prescott to the custody of his parents on Tuesday. Prescott was ordered to continue taking medication and attend counseling while he awaits arraignment.

Prince George’s State’s Attorney’s Office spokesman John Erzen said can only leave his parents’ house for medical or legal appointments.

Prescott has been charged with one count of telephone misuse.

Police say on July 27, Prescott, allegedly threatened to load his guns and shoot up the Pitney Bowes location where he worked. Police say they found large quantities of ammunition and about two dozen weapons in his apartment.

(TM and Copyright 2012 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2012 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)