Portland police took a man into custody on Wednesday afternoon after he allegedly barricaded himself inside a TriMet bus.