Standoff ends peacefully and safely