Sounds like he kicked you. The only way to leave a party OF YOUR OWN ACCORD forces you to return to town, and right now there is absolutely NO way to deal with an uncooperative, inconsiderate, or even disconnected party leader (in the case of D/C it takes a VERY long time before the game will actually remove the person from the party automatically and let the rest of you continue)
Hopefully fixing this will be one the development team's highest priorities. I'd like to see it made so that in the event of EITHER being kicked OR choosing to leave a party yourself, a box would come up warning you of what's going on and giving you a few options. You could decide to remain on that dungeon by yourself (and then be asked your preference on allowing others to join you without invite), you could choose to automatically look for a different group that's in the same dungeon floor, OR you could choose to return to town.