I sure would be freaked out if I discovered this myself!
It happened at Jurupa Valley middle school in Riverside County. Video released Riverside County Animal Services shows the poor animal hiding in the stall. He had been seen around the school in recent weeks and has been nicknamed Wile E.
The second half of the video shows the coyote being released and running free. Happy ending!