yellow dotted wireframe appears when I mistakenly press Shift-t instead of Ctrl-t
Shift+T does indeed turn on the 'Texture Space' display mode. 

To disable it go to Object> Display> Texture Space and untick the checkbox: